Share via


IMTLTensor.GetBytes Method

Definition

[Foundation.Export("getBytes:strides:fromSliceOrigin:sliceDimensions:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void GetBytes(IntPtr bytes, Metal.MTLTensorExtents strides, Metal.MTLTensorExtents sliceOrigin, Metal.MTLTensorExtents sliceDimensions);
[<Foundation.Export("getBytes:strides:fromSliceOrigin:sliceDimensions:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBytes : nativeint * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorExtents -> unit
override this.GetBytes : nativeint * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorExtents -> unit

Parameters

bytes
IntPtr

nativeint

sliceOrigin
MTLTensorExtents
sliceDimensions
MTLTensorExtents
Attributes

Applies to