29 references to FlattenedLength
System.Numerics.Tensors (29)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (10)
384
public nint FlattenedLength => _shape.
FlattenedLength
;
420
left._shape.
FlattenedLength
== right._shape.
FlattenedLength
&&
521
if (_shape.
FlattenedLength
!= 0) ret = ref _reference;
646
public override string ToString() => $"System.Numerics.Tensors.ReadOnlyTensorSpan<{typeof(T).Name}>[{_shape.
FlattenedLength
}]";
752
if (destination.Length < _shape.
FlattenedLength
)
769
while (copiedValues < _shape.
FlattenedLength
)
789
if (destination.Length < _shape.
FlattenedLength
)
792
if (_shape.
FlattenedLength
== 0)
810
while (copiedValues < _shape.
FlattenedLength
)
System\Numerics\Tensors\netcore\TensorExtensions.cs (8)
6871
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref input._reference, (int)input._shape.
FlattenedLength
);
6891
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref left._reference, (int)left._shape.
FlattenedLength
);
6892
ReadOnlySpan<T> rspan = MemoryMarshal.CreateSpan(ref right._reference, (int)right._shape.
FlattenedLength
);
6921
if (destination._shape._memoryLength < input._shape.
FlattenedLength
)
6933
inputSpan = MemoryMarshal.CreateSpan(ref input._reference, (int)input._shape.
FlattenedLength
);
6934
destinationSpan = MemoryMarshal.CreateSpan(ref slicedDestination._reference, (int)slicedDestination._shape.
FlattenedLength
);
6974
if (destination._shape._memoryLength < input._shape.
FlattenedLength
)
7026
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)
390
public nint FlattenedLength => _shape.
FlattenedLength
;
426
left._shape.
FlattenedLength
== right._shape.
FlattenedLength
&&
513
if (_shape.
FlattenedLength
!= 0) ret = ref _reference;
538
while (clearedValues < _shape.
FlattenedLength
)
679
public override string ToString() => $"System.Numerics.Tensors.TensorSpan<{typeof(T).Name}>[{_shape.
FlattenedLength
}]";
787
if (destination.Length <= _shape.
FlattenedLength
)
801
if (destination.Length < _shape.
FlattenedLength
)
804
if (_shape.
FlattenedLength
== 0)
822
while (copiedValues < _shape.
FlattenedLength
)