TensorF32.pad: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32 Lines 398-401 of stelliferous@0.0.2.0/tensor_f32.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_f32.bend&start_line=398&end_line=401 import Base import stelliferous@0.0.2.0/tensor_layout.bend as Layout # before[i] new elements in front of axis i and after[i] behind it, all equal # to value. def pad(tensor: Tensor(),+before: List<&2,U32>,+after: List<&2,U32>,+value: F32) -> Tensor(): Layout.pad(~F32,Layout.Constant{value},tensor,before,after) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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_f32.bend&name=Tensor https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_layout.bend&name=Border https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_layout.bend&name=pad