MPSCnnBatchNormalizationGradient.Encode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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