Bewerken

Delen via


MPSCnnYoloLoss.Encode Method

Definition

Overloads

Encode(IMTLCommandBuffer, MPSImage, MPSCnnLossLabels)
Encode(IMTLCommandBuffer, MPSImage, MPSCnnLossLabels, MPSImage)

Encode(IMTLCommandBuffer, MPSImage, MPSCnnLossLabels)

[Foundation.Export("encodeToCommandBuffer:sourceImage:labels:")]
public virtual MetalPerformanceShaders.MPSImage Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceImage, MetalPerformanceShaders.MPSCnnLossLabels labels);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSCnnLossLabels -> MetalPerformanceShaders.MPSImage
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSCnnLossLabels -> MetalPerformanceShaders.MPSImage

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage

Returns

Attributes

Applies to

Encode(IMTLCommandBuffer, MPSImage, MPSCnnLossLabels, MPSImage)

[Foundation.Export("encodeToCommandBuffer:sourceImage:labels:destinationImage:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceImage, MetalPerformanceShaders.MPSCnnLossLabels labels, MetalPerformanceShaders.MPSImage destinationImage);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSCnnLossLabels * MetalPerformanceShaders.MPSImage -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSCnnLossLabels * MetalPerformanceShaders.MPSImage -> unit

Parameters

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
destinationImage
MPSImage
Attributes

Applies to