MPSCNNBinaryFullyConnectedNode(3)
NAME
MPSCNNBinaryFullyConnectedNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSCNNBinaryConvolutionNode.
Instance Methods
(nonnull instancetype) - initWithSource:weights:scaleValue:type:flags:
Class Methods
(nonnull instancetype) + nodeWithSource:weights:scaleValue:type:flags:
Additional Inherited Members
Detailed Description
A MPSNNFilterNode representing a MPSCNNBinaryFullyConnected kernel
Method Documentation
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights(float)
scaleValue(MPSCNNBinaryConvolutionType)
type(MPSCNNBinaryConvolutionFlags) flags
Init a node representing a MPSCNNBinaryFullyConnected 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 MPSCNNBinaryFullyConnected kernel.
Implements MPSCNNBinaryConvolutionNode.
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights(float)
scaleValue(MPSCNNBinaryConvolutionType)
type(MPSCNNBinaryConvolutionFlags) flags
Init an autoreleased not representing a MPSCNNBinaryFullyConnected
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 MPSCNNBinaryFullyConnected kernel.
Implements MPSCNNBinaryConvolutionNode.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 20MPSCNNBinaryFullyConnectedNode(3)
Mac OS X 10.12.6 - Generated Sun Oct 29 14:52:55 CDT 2017