def fsum
import bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof.bend as ReduceParallelProofimport Base
229def fsum(words: List<&2, F32>, accumulator: F32) -> F32:
230 match words:
231 case Nil{}:
232 accumulator
233 case word <> rest:
234 fsum(rest, F32.add(accumulator, word))
Uses (3)
Used by (7)
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:FiberRun
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:CellAt
- bendtorch-core@0.1.0.0/src/autograd/reduce_PROOF:rows_cell
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:cell_value
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:fsum_append
- …