MPSCNNNormalizationGammaAndBetaState(3) MetalPerformanceShaders.framework MPSCNNNormalizationGammaAndBetaState(3)
NAME
MPSCNNNormalizationGammaAndBetaState
SYNOPSIS
#import <MPSCNNNormalizationWeights.h>
Inherits MPSState.
Instance Methods
(nonnull instancetype) - initWithGamma:beta:
Class Methods
(nonnull instancetype) + temporaryStateWithCommandBuffer:numberOfFeatureChannels:
Properties
__nonnull id< MTLBuffer > gamma
__nonnull id< MTLBuffer > beta
Method Documentation
- (nonnull instancetype) initWithGamma: (__nonnull id< MTLBuffer >) gamma(__nonnull id< MTLBuffer >) beta
Initialize a MPSCNNNormalizationGammaAndBetaState object using values contained in MTLBuffers.
Parameters:
gamma The MTLBuffer containing gamma terms.
beta The MTLBuffer containing beta terms.
+ (nonnull instancetype) temporaryStateWithCommandBuffer: (__nonnull id< MTLCommandBuffer >) commandBuffer(NSUInteger) numberOfFeatureChannels
Create a temporary MPSCNNNormalizationGammaAndBetaState suitable for a normalization operation on images containing no more than the
specified number of feature channels.
Parameters:
commandBuffer The command buffer on which the temporary state will be used.
numberOfFeatureChannels The number of feature channels used to size the state.
Property Documentation
- beta [read], [nonatomic], [assign]
A MTLBuffer containing the beta terms.
- gamma [read], [nonatomic], [assign]
A MTLBuffer containing the gamma terms.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNNormalizationGammaAndBetaState(3)