3 writes to _linearOffset
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
401
_linearOffset
= tensor._start - (!tensor.IsEmpty ? tensor.Strides[^1] : 0);
416
_linearOffset
= _tensor._shape.AdjustToNextIndex(_tensor._shape, _linearOffset, _indexes);
428
_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)
406
public readonly ref T Current => ref Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(_tensor._values),
_linearOffset
);
416
_linearOffset = _tensor._shape.AdjustToNextIndex(_tensor._shape,
_linearOffset
, _indexes);