Tensor<T>.IReadOnlyTensor<Tensor<T>,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 the 0th element of the ReadOnlyTensor. If the ReadOnlyTensor is empty, returns null reference. It can be used for pinning and is required to support the use of ReadOnlyTensor within a fixed statement.
virtual T& ^ System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.GetPinnableReference() = System::Numerics::Tensors::IReadOnlyTensor<System::Numerics::Tensors::Tensor<T> ^, T>::GetPinnableReference;
ref readonly T IReadOnlyTensor<Tensor<T>,T>.GetPinnableReference ();
abstract member System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.GetPinnableReference : unit -> 'T
override this.System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.GetPinnableReference : unit -> 'T
Function GetPinnableReference () As T Implements IReadOnlyTensor(Of Tensor(Of T), T).GetPinnableReference
Returns
T
Implements
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.