1 write to _sliceShape
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorDimensionSpan_1.cs (1)
30
_sliceShape
= TensorShape.Create((dimension != tensor.Rank) ? tensor.Lengths[dimension..] : [1], tensor.Strides[dimension..], tensor.IsPinned);
2 references to _sliceShape
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\TensorDimensionSpan_1.cs (2)
34
public bool IsDense =>
_sliceShape
.IsDense;
52
return new TensorSpan<T>(ref Unsafe.Add(ref _tensor._reference, linearOffset),
_sliceShape
);