共用方式為


MPSCnnBatchNormalizationStatisticsGradient.EncodeBatch 方法

定義

[Foundation.Export("encodeBatchToCommandBuffer:sourceGradients:sourceImages:batchNormalizationState:")]
public virtual void EncodeBatch (Metal.IMTLCommandBuffer commandBuffer, Foundation.NSArray<MetalPerformanceShaders.MPSImage> sourceGradients, Foundation.NSArray<MetalPerformanceShaders.MPSImage> sourceImages, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState);
override this.EncodeBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage> * Foundation.NSArray<MetalPerformanceShaders.MPSImage> * MetalPerformanceShaders.MPSCnnBatchNormalizationState -> unit

參數

commandBuffer
IMTLCommandBuffer
sourceGradients
NSArray<MPSImage>
sourceImages
NSArray<MPSImage>
batchNormalizationState
MPSCnnBatchNormalizationState
屬性

適用於