2 references to GetPinnableReference
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\Tensor.cs (1)
444public ref T GetPinnableReference() => ref AsTensorSpan().GetPinnableReference();
System\Numerics\Tensors\netcore\TensorExtensions.cs (1)
3124&& MemoryMarshal.CreateReadOnlySpan(in tensor.GetPinnableReference(), (int)tensor._shape._memoryLength).SequenceEqual(MemoryMarshal.CreateReadOnlySpan(in other.GetPinnableReference(), (int)other._shape._memoryLength));