MPSCNNConvolutionTransposeNode(3)
NAME
MPSCNNConvolutionTransposeNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSCNNConvolutionNode.
Instance Methods
(nonnull instancetype) - initWithSource:convolutionState:weights:
Class Methods
(nonnull instancetype) + nodeWithSource:convolutionState:weights:
Properties
MPSCNNConvolutionStateNode * convolutionState
Detailed Description
A MPSNNFilterNode representing a MPSCNNConvolutionTranspose kernel
Method Documentation
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
sourceNode(MPSCNNConvolutionStateNode *__nullable)
convolutionState(nonnull id< MPSCNNConvolutionDataSource >) weights
Init a node representing a MPSCNNConvolutionTransposeNode kernel
Parameters:
sourceNode The MPSNNImageNode representing the source MPSImage for
the filter
convolutionState When the convolution transpose is used to 'undo'
an earlier convolution in the graph, it is generally desired that
the output image be the same size as the input image to the earlier
convolution. You may optionally specify this size identity by
passing in the MPSCNNConvolutionState node here.
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 MPSCNNConvolutionTransposeNode kernel.
+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
sourceNode(MPSCNNConvolutionStateNode *__nullable)
convolutionState(nonnull id< MPSCNNConvolutionDataSource >) weights
Init an autoreleased not representing a MPSCNNConvolutionTransposeNode
kernel
Parameters:
sourceNode The MPSNNImageNode representing the source MPSImage for
the filter
convolutionState When the convolution transpose is used to 'undo'
an earlier convolution in the graph, it is generally desired that
the output image be the same size as the input image to the earlier
convolution. You may optionally specify this size identity by
passing in the MPSNNConvolutionStateNode created by the convolution
node here.
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 MPSCNNConvolutionTransposeNode kernel.
Property Documentation
- (MPSCNNConvolutionStateNode*) convolutionState [read], [nonatomic],
[assign]
unavailable
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 20MPSCNNConvolutionTransposeNode(3)
Mac OS X 10.12.6 - Generated Sun Oct 29 16:33:16 CDT 2017