def one_hot_rows

mlbend-preprocess@0.1.0.0 · main.bend:268

import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess
import Base

268# The rows of a one-hot matrix, one for every label.
269def one_hot_rows(+labels: List<&2, Nat>, +k: Nat) -> List<&2, List<&2, F32>>:
270  one_hot_rows_go(labels, k, Nil{})

Uses (4)

Used by (1)