MPSCnnYoloLoss.Encode 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
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
- labels
- MPSCnnLossLabels
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
- labels
- MPSCnnLossLabels
- destinationImage
- MPSImage
- Attributes