Tensor<T>.GetPinnedHandle Method

Definition

Pins and gets a MemoryHandle to the backing memory.

public:
 System::Buffers::MemoryHandle GetPinnedHandle();
public System.Buffers.MemoryHandle GetPinnedHandle();
member this.GetPinnedHandle : unit -> System.Buffers.MemoryHandle
Public Function GetPinnedHandle () As MemoryHandle

Returns

A handle to the backing memory.

Applies to