Parallel.node: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/parallel.bend as Parallel Lines 24-29 of bendtorch-core@0.1.0.0/src/tensor/parallel.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/parallel.bend&start_line=24&end_line=29 import Base # The two components of the state go to `rec` one by one, so a closure # call never boxes the state. def node(~A: Type, ~B: Type, rec: A -> B -> Array & (A & B), low: Array & (A & B)) -> Array & (A & B): (a, state) = low (l, r) = state join(~(A & B), a, rec(l, r)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/parallel.bend&name=join