MPSCNNConvolutionNode(3)
NAME
MPSCNNConvolutionNode
SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNFilterNode. Inherited by MPSCNNBinaryConvolutionNode, MPSCNNConvolutionTransposeNode, and MPSCNNFullyConnectedNode. Instance Methods (nonnull instancetype) - initWithSource:weights: Class Methods (nonnull instancetype) + nodeWithSource:weights: Properties MPSCNNConvolutionStateNode * convolutionState
Method Documentation
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights Init a node representing a MPSCNNConvolution 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. Returns: A new MPSNNFilter node for a MPSCNNConvolution kernel. Implemented in MPSCNNFullyConnectedNode. + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights Init an autoreleased not representing a MPSCNNConvolution 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. Returns: A new MPSNNFilter node for a MPSCNNConvolution kernel. Implemented in MPSCNNFullyConnectedNode.
Property Documentation
- (MPSCNNConvolutionStateNode*) convolutionState [read], [nonatomic], [assign] A node to represent a MPSCNNConvolutionState object Use this if the convolution is mirrored by a convolution transpose node later on in the graph to make sure that the size of the image returned from the convolution transpose matches the size of the image passed in to this node.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNConvolutionNode(3)
Mac OS X 10.12.6 - Generated Sun Oct 29 15:34:59 CDT 2017