Implemented interface member:
property
IsDense
System.Numerics.Tensors.IReadOnlyTensor.IsDense
7 references to IsDense
System.Numerics.Tensors (7)
System\Numerics\Tensors\netcore\Tensor_1.cs (2)
270
if (!
IsDense
)
417
_linearOffset = _tensor._start + (_tensor.
IsDense
System\Numerics\Tensors\netcore\Tensor.cs (5)
369
if (!tensor.
IsDense
)
1707
if (!tensor.
IsDense
&& !tensor.Strides.Contains(0))
1714
scoped Span<nint> strides = TensorOperation.RentedBuffer.CreateUninitialized(tensor.
IsDense
? 0 : newLengths.Length, out TensorOperation.RentedBuffer<nint> stridesRentedBuffer);
1715
GetReshapeStrides(tensor.Lengths, tensor.Strides, tensor.
IsDense
, newLengths, strides);
1801
if (tensor.
IsDense
)