Language

IMTLTensor.GetBytes Method

Definition

Overloads

GetBytes(IntPtr, MTLTensorExtents, MTLTensorExtents, MTLTensorExtents)

[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

GetBytes(IntPtr, MTLTensorExtents, MTLTensorExtents, MTLTensorExtents, MTLTensorPlaneType)

[Foundation.Export("getBytes:strides:fromSliceOrigin:sliceDimensions:plane:")]
[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, Metal.MTLTensorPlaneType plane);
[<Foundation.Export("getBytes:strides:fromSliceOrigin:sliceDimensions:plane:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBytes : nativeint * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorPlaneType -> unit
override this.GetBytes : nativeint * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorPlaneType -> unit

Parameters

bytes
IntPtr

nativeint

sliceOrigin
MTLTensorExtents
sliceDimensions
MTLTensorExtents
Attributes

Applies to