14 references to CalculateTotalLength
System.Numerics.Tensors (14)
System\Numerics\Tensors\netcore\Tensor.cs (5)
69_flattenedLength = TensorSpanHelpers.CalculateTotalLength(_lengths); 97nint linearLength = TensorSpanHelpers.CalculateTotalLength(lengths); 110nint linearLength = TensorSpanHelpers.CalculateTotalLength(lengths); 122nint linearLength = TensorSpanHelpers.CalculateTotalLength(lengths); 135nint linearLength = TensorSpanHelpers.CalculateTotalLength(lengths);
System\Numerics\Tensors\netcore\TensorExtensions.cs (8)
155nint newSize = TensorSpanHelpers.CalculateTotalLength(shape); 198nint newSize = TensorSpanHelpers.CalculateTotalLength(shape); 241nint newSize = TensorSpanHelpers.CalculateTotalLength(lengths); 2759nint tempLinear = TensorSpanHelpers.CalculateTotalLength(arrLengths); 2827nint tempLinear = TensorSpanHelpers.CalculateTotalLength(arrLengths); 2898nint tempLinear = TensorSpanHelpers.CalculateTotalLength(arrLengths); 2942nint newSize = TensorSpanHelpers.CalculateTotalLength(lengths); 6850nint newLength = TensorSpanHelpers.CalculateTotalLength(newLengths);
System\Numerics\Tensors\netcore\TensorShape.cs (1)
62public nint FlattenedLength => TensorSpanHelpers.CalculateTotalLength(Lengths);