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