MPSCNNNormalizationGammaAndBetaState(3) | MetalPerformanceShaders.framework | MPSCNNNormalizationGammaAndBetaState(3) |
MPSCNNNormalizationGammaAndBetaState
#import <MPSCNNNormalizationWeights.h>
Inherits MPSState.
(nonnull instancetype) - initWithGamma:beta:
(nonnull instancetype) +
temporaryStateWithCommandBuffer:numberOfFeatureChannels:
__nonnull id< MTLBuffer > gamma
__nonnull id< MTLBuffer > beta
A state which contains gamma and beta terms used to apply a scale and bias in either an MPSCNNInstanceNormalization or MPSCNNBatchNormalization operation.
Initialize a MPSCNNNormalizationGammaAndBetaState object using values contained in MTLBuffers.
Parameters:
Create a temporary MPSCNNNormalizationGammaAndBetaState suitable for a normalization operation on images containing no more than the specified number of feature channels.
Parameters:
A MTLBuffer containing the beta terms.
A MTLBuffer containing the gamma terms.
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |