Поделиться через


MPSCnnLoss.Encode Метод

Определение

Перегрузки

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

Параметры

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
destinationImage
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

Параметры

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage

Возвращаемое значение

Атрибуты

Применяется к