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