IReadOnlyTensor<TSelf,T>.GetPinnableReference 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.
Returns a reference to an object of type T
that can be used for pinning.
public:
T& ^ GetPinnableReference();
public ref readonly T GetPinnableReference();
abstract member GetPinnableReference : unit -> 'T
Public Function GetPinnableReference () As T
Returns
T
A reference to the element of the tensor at index 0, or null
if the tensor is empty.
Remarks
This method is intended to support .NET compilers and is not intended to be called by user code.