3 writes to _linearOffset
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
423
_linearOffset
= tensor._start - (!tensor.IsEmpty ? tensor.Strides[^1] : 0);
438
_linearOffset
= _tensor._shape.AdjustToNextIndex(_tensor._shape, _linearOffset, _indexes);
450
_linearOffset
= _tensor._start - (!_tensor.IsEmpty ? _tensor.Strides[^1] : 0);
2 references to _linearOffset
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\Tensor_1.cs (2)
428
public readonly ref T Current => ref Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(_tensor._values),
_linearOffset
);
438
_linearOffset = _tensor._shape.AdjustToNextIndex(_tensor._shape,
_linearOffset
, _indexes);