4 references to GetPinnableReference
System.Numerics.Tensors (4)
System\Numerics\Tensors\netcore\Tensor.cs (1)
451
ref readonly T IReadOnlyTensor<Tensor<T>, T>.GetPinnableReference() => ref AsReadOnlyTensorSpan().
GetPinnableReference
();
System\Numerics\Tensors\netcore\TensorExtensions.cs (3)
3124
&& MemoryMarshal.CreateReadOnlySpan(in tensor.GetPinnableReference(), (int)tensor._shape._memoryLength).SequenceEqual(MemoryMarshal.CreateReadOnlySpan(in other.
GetPinnableReference
(), (int)other._shape._memoryLength));
3136
&& MemoryMarshal.CreateReadOnlySpan(in tensor.
GetPinnableReference
(), (int)tensor._shape._memoryLength).SequenceEqual(MemoryMarshal.CreateReadOnlySpan(in other.
GetPinnableReference
(), (int)other._shape._memoryLength));