MPSCnnLoss.Encode Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Encode(IMTLCommandBuffer, MPSImage, MPSCnnLossLabels, MPSImage) | |
Encode(IMTLCommandBuffer, MPSImage, MPSCnnLossLabels) |
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
Parâmetros
- commandBuffer
- IMTLCommandBuffer
- sourceImage
- MPSImage
- labels
- MPSCnnLossLabels
- destinationImage
- MPSImage
- Atributos
Aplica-se a
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
Parâmetros
- commandBuffer
- IMTLCommandBuffer
- sourceImage
- MPSImage
- labels
- MPSCnnLossLabels
Retornos
- Atributos