TensorIndexed.run_blocks: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_indexed.bend as TensorIndexed Lines 57-61 of stelliferous@0.0.2.0/tensor_indexed.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&start_line=57&end_line=61 import Base import stelliferous@0.0.2.0/traversal_array.bend as Traversal import stelliferous@0.0.2.0/traversal_loop.bend as Loop def run_blocks(~Element: Data,~Context: Data,~base: Context -> U32 -> U32,~operation: U32 -> Element -> Element, blocks: Nat,size: U32,context: Context,input: Array,output: Array) -> Array & Array: Traversal.finish(~Array,~Element,~Blocks, Loop.run(~Traversal.State<&1,&1,Array,Array,Blocks>,~block_step(~Element,~Context,~base,~operation),blocks, Traversal.State{input,output,0,Blocks{0,size,context}})) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=Blocks https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=block_step https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=State https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=finish https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_loop.bend&name=run