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)
270if (!IsDense) 417_linearOffset = _tensor._start + (_tensor.IsDense
System\Numerics\Tensors\netcore\Tensor.cs (4)
1626if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1633scoped Span<nint> strides = TensorOperation.RentedBuffer.CreateUninitialized(tensor.IsDense ? 0 : newLengths.Length, out TensorOperation.RentedBuffer<nint> stridesRentedBuffer); 1634GetReshapeStrides(tensor.Lengths, tensor.Strides, tensor.IsDense, newLengths, strides); 1720if (tensor.IsDense)