def scaled_of

mlbend-preprocess@0.1.0.0 · main.bend:225

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

225# A matrix scaled column by column.
226def scaled_of(+r: Nat, +c: Nat, a: T.Mat<r, c>, +b: Bounds) -> List<&2, List<&2, F32>>:
227  match b:
228    case Bounds{mins, maxs}:
229      scaled_go(T.Mat.to_rows(r, c, a), mins, maxs, Nil{})

Uses (7)

Used by (1)