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