BendMlTensor.Vec.sum: def of bend-ml-tensor@0.1.2.0 Import: import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensor Lines 113-116 of bend-ml-tensor@0.1.2.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-tensor@0.1.2.0/main.bend&start_line=113&end_line=116 import Base def Vec.sum(-n: Nat, a: Vec) -> F32: match a: case Vec{xs}: sum.go(xs, 0.0) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 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=Vec https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor@0.1.2.0/main.bend&name=sum.go