共用方式為


MPSCnnBatchNormalization.Encode 方法

定義

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

參數

commandBuffer
IMTLCommandBuffer
sourceImage
MPSImage
batchNormalizationState
MPSCnnBatchNormalizationState
destinationImage
MPSImage
屬性

適用於