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