MlbendPreprocess.scaled_of: def of mlbend-preprocess@0.1.0.0 Import: import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess Lines 225-229 of mlbend-preprocess@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-preprocess@0.1.0.0/main.bend&start_line=225&end_line=229 import Base import bend-ml-tensor@0.1.0.0/main.bend as T # A matrix scaled column by column. def scaled_of(+r: Nat, +c: Nat, a: T.Mat, +b: Bounds) -> List<&2, List<&2, F32>>: match b: case Bounds{mins, maxs}: scaled_go(T.Mat.to_rows(r, c, a), mins, maxs, Nil{}) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor@0.1.2.0/main.bend&name=Mat https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor@0.1.2.0/main.bend&name=Mat.to_rows https://jend.leeeet.dev/definition.txt?path=mlbend-preprocess@0.1.0.0/main.bend&name=Bounds https://jend.leeeet.dev/definition.txt?path=mlbend-preprocess@0.1.0.0/main.bend&name=scaled_go