TensorBand.split: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_band.bend as TensorBand Lines 391-395 of stelliferous@0.0.2.0/tensor_band.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_band.bend&start_line=391&end_line=395 import Base import stelliferous@0.0.2.0/storage_buffer.bend as Storage # Plan metadata first, then transfer each dense channel range once. First # splits and later changed boundaries share the same copy implementation. def split(~Element: Data,depth: Nat,+geometry: Geometry,fill: Element,input: Storage.Buffer) -> Bands(~Element): Geometry{batch,channels,height,width} = geometry from_dense(~Element,geometry,fill,image_plan(U32.to_nat(batch),0,depth,height),input) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/storage_buffer.bend&name=Buffer https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=Bands https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=Geometry https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=from_dense https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band.bend&name=image_plan