MPSCNNBinaryConvolutionNode(3)
NAME
MPSCNNBinaryConvolutionNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSCNNConvolutionNode.
Inherited by MPSCNNBinaryFullyConnectedNode.
Instance Methods
(nonnull instancetype) - initWithSource:weights:scaleValue:type:flags:
Class Methods
(nonnull instancetype) + nodeWithSource:weights:scaleValue:type:flags:
Properties
MPSCNNConvolutionStateNode * convolutionState
Detailed Description
A MPSNNFilterNode representing a MPSCNNBinaryConvolution kernel
Method Documentation
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights(float)
scaleValue(MPSCNNBinaryConvolutionType)
type(MPSCNNBinaryConvolutionFlags) flags
Init a node representing a MPSCNNBinaryConvolution kernel
Parameters:
sourceNode The MPSNNImageNode representing the source MPSImage for
the filter
weights A pointer to a valid object conforming to the
MPSCNNConvolutionDataSource protocol. This object is provided by
you to encapsulate storage for convolution weights and biases.
scaleValue A floating point value used to scale the entire
convolution.
type What kind of binarization strategy is to be used.
flags See documentation of MPSCNNBinaryConvolutionFlags.
Returns:
A new MPSNNFilter node for a MPSCNNBinaryConvolution kernel.
Implemented in MPSCNNBinaryFullyConnectedNode.
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights(float)
scaleValue(MPSCNNBinaryConvolutionType)
type(MPSCNNBinaryConvolutionFlags) flags
Init an autoreleased not representing a MPSCNNBinaryConvolution kernel
Parameters:
sourceNode The MPSNNImageNode representing the source MPSImage for
the filter
weights A pointer to a valid object conforming to the
MPSCNNConvolutionDataSource protocol. This object is provided by
you to encapsulate storage for convolution weights and biases.
scaleValue A floating point value used to scale the entire
convolution.
type What kind of binarization strategy is to be used.
flags See documentation of MPSCNNBinaryConvolutionFlags.
Returns:
A new MPSNNFilter node for a MPSCNNBinaryConvolution kernel.
Implemented in MPSCNNBinaryFullyConnectedNode.
Property Documentation
- (MPSCNNConvolutionStateNode*) convolutionState [read], [nonatomic],
[assign]
unavailable
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNBinaryConvolutionNode(3)
Mac OS X 10.12.6 - Generated Sun Oct 29 14:50:49 CDT 2017