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)
406public readonly ref T Current => ref Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(_tensor._values), _linearOffset); 416_linearOffset = _tensor._shape.AdjustToNextIndex(_tensor._shape, _linearOffset, _indexes);