mpscnnnormalizationgammaandbetastate(3) [mojave man page]
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)
Check Out this Related Man Page
MPSCNNSpatialNormalizationGradientNode(3) MetalPerformanceShaders.framework MPSCNNSpatialNormalizationGradientNode(3)NAME
MPSCNNSpatialNormalizationGradientNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSNNGradientFilterNode.
Instance Methods
(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:kernelSize:
Class Methods
(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:kernelSize:
Properties
NSUInteger kernelWidth
NSUInteger kernelHeight
float alpha
float beta
float delta
Method Documentation
- (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull)
sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelSize
+ (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull)
sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelSize
Property Documentation
- alpha [read], [write], [nonatomic], [assign]
The value of alpha. Default is 1.0. Must be non-negative.
- beta [read], [write], [nonatomic], [assign]
The value of beta. Default is 5.0
- delta [read], [write], [nonatomic], [assign]
The value of delta. Default is 1.0
- (NSUInteger) kernelHeight [read], [write], [nonatomic], [assign]
- (NSUInteger) kernelWidth [read], [write], [nonatomic], [assign]
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNSpatialNormalizationGradientNode(3)
Basically, I like to know how "mget" command work in terms of data/control channels and in terms of request-respond dialogue.
Also, when I try the command as an example below, is it true than for each file to be transferred, there is a new connection establish? (ie. transferred one file,... (5 Replies)
Hi all,
I want to cut a column which match the regular expression "beta", if I don't know the column number?
cat test
alpha;beta;gamma
11;22;33
44;55;66
77;88;99
should be
command ....
beta
22
55 (6 Replies)
Hello All,
I have a file which appears as follows
a,alpha,abc-xyz,123
b,beta,prq-jkl,543
c,gamma,xyz-mno,957
I have to extract the entire content, except for the data following "-" in the third column. Output should appear as follows.
a,alpha,abc,123
b,beta,prq,543... (2 Replies)
i have a file seperated each line seperated by newline. For example
alpha
beta
gamma
i am trying to replace the newlines to "," but dont want , present at the end of the line so i am trying the below one liner . but not sure whats wrong but its not working
cat myfile | tr -s '\n' ',' | sed... (9 Replies)
I have a large file that I need to print certain sections out of.
file.txt
/alpha/beta/delta/gamma/425/590/USC00015420.blah.lt.0.01.str:USC00015420Y2017M10BLALT.01 12 13 14 -9 1 -9 -9 -9 -9 -9 1 2 3 4 5 -9 -9
I need to print the "USC00015420" and... (5 Replies)