Tensor<T>.GetPinnedHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pins and gets a MemoryHandle to the backing memory.
public:
virtual System::Buffers::MemoryHandle GetPinnedHandle();
public System.Buffers.MemoryHandle GetPinnedHandle();
abstract member GetPinnedHandle : unit -> System.Buffers.MemoryHandle
override this.GetPinnedHandle : unit -> System.Buffers.MemoryHandle
Public Function GetPinnedHandle () As MemoryHandle
Returns
A MemoryHandle which has pinned the backing memory.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.