Implemented interface member:
property
IsDense
System.Numerics.Tensors.IReadOnlyTensor.IsDense
20 references to IsDense
System.Numerics.Tensors (20)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (2)
532if (!IsDense) 580_linearOffset = _span.IsDense
System\Numerics\Tensors\netcore\Tensor.cs (11)
1628if (!tensor.IsDense && !tensor.Strides.Contains(0)) 1635scoped Span<nint> strides = TensorOperation.RentedBuffer.CreateUninitialized(tensor.IsDense ? 0 : newLengths.Length, out TensorOperation.RentedBuffer<nint> stridesRentedBuffer); 1636GetReshapeStrides(tensor.Lengths, tensor.Strides, tensor.IsDense, newLengths, strides); 1741if (tensor.IsDense && destination.IsDense) 1850if (tensor.IsDense) 1953if (tensor.IsDense && other.IsDense) 3865if (x.IsDense) 3894if (x.IsDense) 3922if (x.IsDense) 3952if (x.IsDense)
System\Numerics\Tensors\netcore\TensorOperation.cs (7)
282if (x.IsDense && destination.IsDense && x.FlattenedLength == destination.FlattenedLength && x.FlattenedLength <= int.MaxValue) 297if (optimizedSource.IsDense && destination.IsDense && destination.FlattenedLength <= int.MaxValue) 372if (x.IsDense) 449if (optimizedX.IsDense && optimizedY.IsDense && destination.IsDense && destination.FlattenedLength <= int.MaxValue) 538if (optimizedSource.IsDense && destination.IsDense && destination.FlattenedLength <= int.MaxValue) 585if (optimizedSource.IsDense && destination.IsDense && destination.FlattenedLength <= int.MaxValue)