편집

다음을 통해 공유


MPSCnnBatchNormalizationGradient.Encode Method

Definition

Overloads

Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSCnnBatchNormalizationState)
Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSCnnBatchNormalizationState, MPSImage)

Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSCnnBatchNormalizationState)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceGradient
MPSImage
sourceImage
MPSImage
batchNormalizationState
MPSCnnBatchNormalizationState

Returns

Attributes

Applies to

Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSCnnBatchNormalizationState, MPSImage)

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

Parameters

commandBuffer
IMTLCommandBuffer
sourceGradient
MPSImage
sourceImage
MPSImage
batchNormalizationState
MPSCnnBatchNormalizationState
destinationGradient
MPSImage
Attributes

Applies to