1 write to _sliceShape
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\ReadOnlyTensorDimensionSpan_1.cs (1)
38
_sliceShape
= TensorShape.Create((dimension != rank) ? lengths[dimension..] : [1], tensor.Strides[dimension..], tensor.IsPinned);
2 references to _sliceShape
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\ReadOnlyTensorDimensionSpan_1.cs (2)
42
public bool IsDense =>
_sliceShape
.IsDense;
60
return new ReadOnlyTensorSpan<T>(ref Unsafe.Add(ref _tensor._reference, linearOffset),
_sliceShape
);