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