MPSNNOptimizerAdam.Encode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Encode(IMTLCommandBuffer, MPSCnnBatchNormalizationState, NSArray<MPSVector>, NSArray<MPSVector>, MPSCnnNormalizationGammaAndBetaState)
[Foundation.Export("encodeToCommandBuffer:batchNormalizationState:inputMomentumVectors:inputVelocityVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputMomentumVectors, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputVelocityVectors, MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState resultState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
Paramètres
- commandBuffer
- IMTLCommandBuffer
- batchNormalizationState
- MPSCnnBatchNormalizationState
- resultState
- MPSCnnNormalizationGammaAndBetaState
- Attributs
S’applique à
Encode(IMTLCommandBuffer, MPSCnnBatchNormalizationState, MPSCnnBatchNormalizationState, NSArray<MPSVector>, NSArray<MPSVector>, MPSCnnNormalizationGammaAndBetaState)
[Foundation.Export("encodeToCommandBuffer:batchNormalizationGradientState:batchNormalizationSourceState:inputMomentumVectors:inputVelocityVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationGradientState, MetalPerformanceShaders.MPSCnnBatchNormalizationState batchNormalizationSourceState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputMomentumVectors, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputVelocityVectors, MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState resultState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnBatchNormalizationState * MetalPerformanceShaders.MPSCnnBatchNormalizationState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnNormalizationGammaAndBetaState -> unit
Paramètres
- commandBuffer
- IMTLCommandBuffer
- batchNormalizationGradientState
- MPSCnnBatchNormalizationState
- batchNormalizationSourceState
- MPSCnnBatchNormalizationState
- resultState
- MPSCnnNormalizationGammaAndBetaState
- Attributs
S’applique à
Encode(IMTLCommandBuffer, MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState, NSArray<MPSVector>, NSArray<MPSVector>, MPSCnnConvolutionWeightsAndBiasesState)
[Foundation.Export("encodeToCommandBuffer:convolutionGradientState:convolutionSourceState:inputMomentumVectors:inputVelocityVectors:resultState:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnConvolutionGradientState convolutionGradientState, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState convolutionSourceState, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputMomentumVectors, Foundation.NSArray<MetalPerformanceShaders.MPSVector> inputVelocityVectors, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState resultState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * Foundation.NSArray<MetalPerformanceShaders.MPSVector> * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> unit
Paramètres
- commandBuffer
- IMTLCommandBuffer
- convolutionGradientState
- MPSCnnConvolutionGradientState
- convolutionSourceState
- MPSCnnConvolutionWeightsAndBiasesState
- resultState
- MPSCnnConvolutionWeightsAndBiasesState
- Attributs
S’applique à
Encode(IMTLCommandBuffer, MPSVector, MPSVector, MPSVector, MPSVector, MPSVector)
[Foundation.Export("encodeToCommandBuffer:inputGradientVector:inputValuesVector:inputMomentumVector:inputVelocityVector:resultValuesVector:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSVector inputGradientVector, MetalPerformanceShaders.MPSVector inputValuesVector, MetalPerformanceShaders.MPSVector inputMomentumVector, MetalPerformanceShaders.MPSVector inputVelocityVector, MetalPerformanceShaders.MPSVector resultValuesVector);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector -> unit
Paramètres
- commandBuffer
- IMTLCommandBuffer
- inputGradientVector
- MPSVector
- inputValuesVector
- MPSVector
- inputMomentumVector
- MPSVector
- inputVelocityVector
- MPSVector
- resultValuesVector
- MPSVector
- Attributs