29 references to FlattenedLength
System.Numerics.Tensors (29)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (10)
367
public nint FlattenedLength => _shape.
FlattenedLength
;
403
left._shape.
FlattenedLength
== right._shape.
FlattenedLength
&&
504
if (_shape.
FlattenedLength
!= 0) ret = ref _reference;
629
public override string ToString() => $"System.Numerics.Tensors.ReadOnlyTensorSpan<{typeof(T).Name}>[{_shape.
FlattenedLength
}]";
735
if (destination.Length < _shape.
FlattenedLength
)
752
while (copiedValues < _shape.
FlattenedLength
)
772
if (destination.Length < _shape.
FlattenedLength
)
775
if (_shape.
FlattenedLength
== 0)
793
while (copiedValues < _shape.
FlattenedLength
)
System\Numerics\Tensors\netcore\TensorExtensions.cs (8)
6815
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref input._reference, (int)input._shape.
FlattenedLength
);
6835
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref left._reference, (int)left._shape.
FlattenedLength
);
6836
ReadOnlySpan<T> rspan = MemoryMarshal.CreateSpan(ref right._reference, (int)right._shape.
FlattenedLength
);
6865
if (destination._shape._memoryLength < input._shape.
FlattenedLength
)
6877
inputSpan = MemoryMarshal.CreateSpan(ref input._reference, (int)input._shape.
FlattenedLength
);
6878
destinationSpan = MemoryMarshal.CreateSpan(ref slicedDestination._reference, (int)slicedDestination._shape.
FlattenedLength
);
6918
if (destination._shape._memoryLength < input._shape.
FlattenedLength
)
6970
if (destination._shape._memoryLength < input._shape.
FlattenedLength
)
System\Numerics\Tensors\netcore\TensorShape.cs (1)
64
public bool IsEmpty =>
FlattenedLength
== 0;
System\Numerics\Tensors\netcore\TensorSpan.cs (10)
375
public nint FlattenedLength => _shape.
FlattenedLength
;
411
left._shape.
FlattenedLength
== right._shape.
FlattenedLength
&&
498
if (_shape.
FlattenedLength
!= 0) ret = ref _reference;
523
while (clearedValues < _shape.
FlattenedLength
)
664
public override string ToString() => $"System.Numerics.Tensors.TensorSpan<{typeof(T).Name}>[{_shape.
FlattenedLength
}]";
772
if (destination.Length <= _shape.
FlattenedLength
)
786
if (destination.Length < _shape.
FlattenedLength
)
789
if (_shape.
FlattenedLength
== 0)
807
while (copiedValues < _shape.
FlattenedLength
)