2 references to CheckedShapeAdd
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\TensorShape.cs (2)
126
maximumLinearIndex =
CheckedShapeAdd
(maximumLinearIndex, CheckedShapeMultiply(length - 1, stride));
233
maximumLinearIndex =
CheckedShapeAdd
(maximumLinearIndex, minimumNonZeroStride - sortedStride);