TensorSelect.matching: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_select.bend as TensorSelect Lines 68-72 of stelliferous@0.0.2.0/tensor_select.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_select.bend&start_line=68&end_line=72 import Base import stelliferous@0.0.2.0/tensor.bend as Tensors def matching(+shape: List<&2,U32>,+count: U32,+fill: F32,+workers: U32,mask: Tensors.Tensor,yes: Tensors.Tensor,no: Tensors.Tensor) -> Tensors.Tensor: Tensors.then(~Tensors.Tensor,~Maybe<&2,BandPlan>,~Tensors.Tensor,plan(mask),mask => mask_plan => Tensors.then(~Tensors.Tensor,~Maybe<&2,BandPlan>,~Tensors.Tensor,plan(yes),yes => yes_plan => Tensors.then(~Tensors.Tensor,~Maybe<&2,BandPlan>,~Tensors.Tensor,plan(no),no => no_plan => dispatch(common(mask_plan,common(yes_plan,no_plan)),shape,count,fill,workers,mask,yes,no)))) Uses (10): 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=Maybe 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.bend&name=Tensor https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=then https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_select.bend&name=BandPlan https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_select.bend&name=common https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_select.bend&name=dispatch https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_select.bend&name=plan