MPSNNOptimizerRmsProp.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, MPSCnnBatchNormalizationState, NSArray<MPSVector>, MPSCnnNormalizationGammaAndBetaState)
[Foundation.Export("encodeToCommandBuffer:batchNormalizationState:inputSumOfSquaresVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputSumOfSquaresVectors, MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState resultState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
Parameters
- commandBuffer
- IMTLCommandBuffer
- batchNormalizationState
- MPSCnnBatchNormalizationState
- resultState
- MPSCnnNormalizationGammaAndBetaState
- Attributes
Applies to
Encode(IMTLCommandBuffer, MPSCnnBatchNormalizationState, MPSCnnBatchNormalizationState, NSArray<MPSVector>, MPSCnnNormalizationGammaAndBetaState)
[Foundation.Export("encodeToCommandBuffer:batchNormalizationGradientState:batchNormalizationSourceState:inputSumOfSquaresVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationGradientState, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationSourceState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputSumOfSquaresVectors, MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState resultState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
Parameters
- commandBuffer
- IMTLCommandBuffer
- batchNormalizationGradientState
- MPSCnnBatchNormalizationState
- batchNormalizationSourceState
- MPSCnnBatchNormalizationState
- resultState
- MPSCnnNormalizationGammaAndBetaState
- Attributes
Applies to
Encode(IMTLCommandBuffer, MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState, NSArray<MPSVector>, MPSCnnConvolutionWeightsAndBiasesState)
[Foundation.Export("encodeToCommandBuffer:convolutionGradientState:convolutionSourceState:inputSumOfSquaresVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnConvolutionGradientState convolutionGradientState, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState convolutionSourceState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputSumOfSquaresVectors, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState resultState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> unit
Parameters
- commandBuffer
- IMTLCommandBuffer
- convolutionGradientState
- MPSCnnConvolutionGradientState
- convolutionSourceState
- MPSCnnConvolutionWeightsAndBiasesState
- resultState
- MPSCnnConvolutionWeightsAndBiasesState
- Attributes
Applies to
Encode(IMTLCommandBuffer, MPSVector, MPSVector, MPSVector, MPSVector)
[Foundation.Export("encodeToCommandBuffer:inputGradientVector:inputValuesVector:inputSumOfSquaresVector:resultValuesVector:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSVector inputGradientVector, MetalPerformanceShaders.MPSVector inputValuesVector, MetalPerformanceShaders.MPSVector inputSumOfSquaresVector, MetalPerformanceShaders.MPSVector resultValuesVector);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector -> unit
Parameters
- commandBuffer
- IMTLCommandBuffer
- inputGradientVector
- MPSVector
- inputValuesVector
- MPSVector
- inputSumOfSquaresVector
- MPSVector
- resultValuesVector
- MPSVector
- Attributes