MlbendPreprocess.l2_norm_go: def of mlbend-preprocess@0.1.0.0 Import: import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess Lines 151-157 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=151&end_line=157 import Base # The length of a row, cell by cell. def l2_norm_go(acc: List<&2, F32>, +acc_sum: F32) -> F32: match acc: case Nil{}: F32.sqrt(acc_sum) case Con{+h, t}: l2_norm_go(t, F32.add(acc_sum, F32.mul(h, h))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sqrt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List