DotFold.dot_fold: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/dot_fold.bend as DotFold Lines 9-14 of bendtorch-core@0.1.0.0/src/tensor/dot_fold.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/dot_fold.bend&start_line=9&end_line=14 import Base def dot_fold(values: List<&2, Factors>, accumulator: F32) -> F32: match values: case Nil{}: accumulator case Factors{left, right} <> tail: dot_fold(tail, F32.add(accumulator, F32.mul(left, right))) 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=List https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/dot_fold.bend&name=Factors