22 references to FlattenedLength
System.Numerics.Tensors (22)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (5)
275public nint FlattenedLength => _shape.FlattenedLength; 384if (_shape.FlattenedLength != 0) ret = ref _reference; 456if ((_shape.FlattenedLength <= destination.FlattenedLength) && 468if (_shape.FlattenedLength <= destination.Length) 574if (_itemsEnumerated == _span._shape.FlattenedLength)
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
103public nint FlattenedLength => _shape.FlattenedLength; 199if (_shape.FlattenedLength != 0) 411if (_itemsEnumerated == _tensor._shape.FlattenedLength)
System\Numerics\Tensors\netcore\Tensor.cs (2)
1745GetReshapeLengths(lengths, shape.FlattenedLength, newLengths); 1777GetReshapeLengths(lengths, shape.FlattenedLength, newLengths);
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
403if (destination.FlattenedLength == 0) 428if (destination.FlattenedLength < minimumLength) 685if (destinationShape.FlattenedLength == 0) 724for (nint i = 1; i < destinationShape.FlattenedLength; i++) 744return (destinationShape.FlattenedLength == 0) || result; 1264for (nint i = 0; i < destinationShape.FlattenedLength; i++)
System\Numerics\Tensors\netcore\TensorShape.cs (3)
460if (left.FlattenedLength != right.FlattenedLength) 1205Debug.Assert(FlattenedLength == LinearLength);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (3)
170public nint FlattenedLength => _shape.FlattenedLength; 274if (_shape.FlattenedLength != 0) ret = ref _reference; 495if (_itemsEnumerated == _span._shape.FlattenedLength)