TensorConvolution.uses_band_windows: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_convolution.bend as TensorConvolution Lines 174-178 of stelliferous@0.0.2.0/tensor_convolution.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_convolution.bend&start_line=174&end_line=178 import Base import stelliferous@0.0.2.0/kernel_shape.bend as KernelShape # Padding-only output windows and an empty batch use the existing dense path. # This is a representation choice, not a restriction on valid convolution shapes. def uses_band_windows(geometry: Geometry) -> Bool: Geometry{count,batched,KernelShape.Dimensions{ci,rows,h,w,k,s,p}} = geometry U32.is_lt(0,count) && Nat.is_lt(p,k) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_shape.bend&name=Dimensions https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_convolution.bend&name=Geometry