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