19 references to FlattenedLength
System.Numerics.Tensors (19)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (4)
301
public nint FlattenedLength => _shape.
FlattenedLength
;
407
if (_shape.
FlattenedLength
!= 0) ret = ref _reference;
459
if (_shape.
FlattenedLength
<= destination.Length)
492
if (_itemsEnumerated == _span._shape.
FlattenedLength
)
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
145
public nint FlattenedLength => _shape.
FlattenedLength
;
241
if (_shape.
FlattenedLength
!= 0) ret = ref MemoryMarshal.GetArrayDataReference(_values);
433
if (_itemsEnumerated == _tensor._shape.
FlattenedLength
)
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
34
ref readonly TensorShape destinationShape = ref ((x._shape.
FlattenedLength
> y._shape.
FlattenedLength
) ? ref x._shape : ref y._shape);
38
for (nint i = 0; i < destinationShape.
FlattenedLength
; i++)
226
ref readonly TensorShape destinationShape = ref ((x._shape.
FlattenedLength
> y._shape.
FlattenedLength
) ? ref x._shape : ref y._shape);
231
for (nint i = 0; i < destinationShape.
FlattenedLength
; i++)
System\Numerics\Tensors\netcore\TensorShape.cs (3)
441
if (left.
FlattenedLength
!= right.
FlattenedLength
)
1097
Debug.Assert(
FlattenedLength
== LinearLength);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (3)
203
public nint FlattenedLength => _shape.
FlattenedLength
;
304
if (_shape.
FlattenedLength
!= 0) ret = ref _reference;
372
if (_itemsEnumerated == _span._shape.
FlattenedLength
)