def scaled_of
import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocessimport 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{})