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