IMTL4ComputeCommandEncoder.CopyFromTensor 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.
Overloads
CopyFromTensor(IMTLTensor, MTLTensorExtents, MTLTensorExtents, IMTLTensor, MTLTensorExtents, MTLTensorExtents)
[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
CopyFromTensor(IMTLTensor, MTLTensorExtents, MTLTensorExtents, MTLTensorPlaneType, IMTLTensor, MTLTensorExtents, MTLTensorExtents, MTLTensorPlaneType)
[Foundation.Export("copyFromTensor:sourceOrigin:sourceDimensions:sourcePlane:toTensor:destinationOrigin:destinationDimensions:destinationPlane:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CopyFromTensor(Metal.IMTLTensor sourceTensor, Metal.MTLTensorExtents sourceOrigin, Metal.MTLTensorExtents sourceDimensions, Metal.MTLTensorPlaneType sourcePlane, Metal.IMTLTensor destinationTensor, Metal.MTLTensorExtents destinationOrigin, Metal.MTLTensorExtents destinationDimensions, Metal.MTLTensorPlaneType destinationPlane);
[<Foundation.Export("copyFromTensor:sourceOrigin:sourceDimensions:sourcePlane:toTensor:destinationOrigin:destinationDimensions:destinationPlane:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyFromTensor : Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorPlaneType * Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorPlaneType -> unit
override this.CopyFromTensor : Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorPlaneType * Metal.IMTLTensor * Metal.MTLTensorExtents * Metal.MTLTensorExtents * Metal.MTLTensorPlaneType -> unit
Parameters
- sourceTensor
- IMTLTensor
- sourceOrigin
- MTLTensorExtents
- sourceDimensions
- MTLTensorExtents
- sourcePlane
- MTLTensorPlaneType
- destinationTensor
- IMTLTensor
- destinationOrigin
- MTLTensorExtents
- destinationDimensions
- MTLTensorExtents
- destinationPlane
- MTLTensorPlaneType
- Attributes