MPSNNOptimizerStochasticGradientDescent.Encode Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Encode(IMTLCommandBuffer, MPSCnnBatchNormalizationState, NSArray<MPSVector>, MPSCnnNormalizationGammaAndBetaState)
[Foundation.Export("encodeToCommandBuffer:batchNormalizationState:inputMomentumVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputMomentumVectors, 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
Parámetros
- commandBuffer
- IMTLCommandBuffer
- batchNormalizationState
- MPSCnnBatchNormalizationState
- resultState
- MPSCnnNormalizationGammaAndBetaState
- Atributos
Se aplica a
Encode(IMTLCommandBuffer, MPSCnnBatchNormalizationState, MPSCnnBatchNormalizationState, NSArray<MPSVector>, MPSCnnNormalizationGammaAndBetaState)
[Foundation.Export("encodeToCommandBuffer:batchNormalizationGradientState:batchNormalizationSourceState:inputMomentumVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationGradientState, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationSourceState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputMomentumVectors, 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
Parámetros
- commandBuffer
- IMTLCommandBuffer
- batchNormalizationGradientState
- MPSCnnBatchNormalizationState
- batchNormalizationSourceState
- MPSCnnBatchNormalizationState
- resultState
- MPSCnnNormalizationGammaAndBetaState
- Atributos
Se aplica a
Encode(IMTLCommandBuffer, MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState, NSArray<MPSVector>, MPSCnnConvolutionWeightsAndBiasesState)
[Foundation.Export("encodeToCommandBuffer:convolutionGradientState:convolutionSourceState:inputMomentumVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnConvolutionGradientState convolutionGradientState, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState convolutionSourceState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputMomentumVectors, 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
Parámetros
- commandBuffer
- IMTLCommandBuffer
- convolutionGradientState
- MPSCnnConvolutionGradientState
- convolutionSourceState
- MPSCnnConvolutionWeightsAndBiasesState
- resultState
- MPSCnnConvolutionWeightsAndBiasesState
- Atributos
Se aplica a
Encode(IMTLCommandBuffer, MPSVector, MPSVector, MPSVector, MPSVector)
[Foundation.Export("encodeToCommandBuffer:inputGradientVector:inputValuesVector:inputMomentumVector:resultValuesVector:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSVector inputGradientVector, MetalPerformanceShaders.MPSVector inputValuesVector, MetalPerformanceShaders.MPSVector inputMomentumVector, 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
Parámetros
- commandBuffer
- IMTLCommandBuffer
- inputGradientVector
- MPSVector
- inputValuesVector
- MPSVector
- inputMomentumVector
- MPSVector
- resultValuesVector
- MPSVector
- Atributos