TensorF32.less_scalar: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32 Lines 204-208 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=204&end_line=208 import Base import stelliferous@0.0.2.0/math_compare.bend as Compare import stelliferous@0.0.2.0/tensor.bend as Tensors import stelliferous@0.0.2.0/tensor_operations.bend as Operations # Scalar comparisons share the eight-lane map and preserve the tensor layout. # Costs count AVX2 arithmetic, comparison, selection and value-bit instructions # in one eight-element round, divided by eight; moves and addressing are excluded. def less_scalar(tensor: Tensor(),+value: F32) -> Tensor(): Tensors.apply_context(~F32,~F32,~Operations.lanes(~F32,~Compare.less),value,"less_scalar",2.75,tensor) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_compare.bend&name=less https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=apply_context 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_operations.bend&name=lanes