Share via


IMTL4ComputeCommandEncoder.CopyFromTensor Method

Definition

[Foundation.Export("copyFromTensor:sourceOrigin:sourceDimensions:toTensor:destinationOrigin:destinationDimensions:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromTensor(Metal.IMTLTensor sourceTensor, Metal.MTLTensorExtents sourceOrigin, Metal.MTLTensorExtents sourceDimensions, Metal.IMTLTensor destinationTensor, Metal.MTLTensorExtents destinationOrigin, Metal.MTLTensorExtents destinationDimensions);
[<Foundation.Export("copyFromTensor:sourceOrigin:sourceDimensions:toTensor:destinationOrigin:destinationDimensions:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromTensor : Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents -> unit
override this.CopyFromTensor : Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents -> unit

Parameters

sourceTensor
IMTLTensor
sourceOrigin
MTLTensorExtents
sourceDimensions
MTLTensorExtents
destinationTensor
IMTLTensor
destinationOrigin
MTLTensorExtents
destinationDimensions
MTLTensorExtents
Attributes

Applies to