MPSCNNFullyConnectedNode(3) MetalPerformanceShaders.framework MPSCNNFullyConnectedNode(3)

MPSCNNFullyConnectedNode

#import <MPSNNGraphNodes.h>

Inherits MPSCNNConvolutionNode.


(nonnull instancetype) - initWithSource:weights:


(nonnull instancetype) + nodeWithSource:weights:

A MPSNNFilterNode representing a MPSCNNFullyConnected kernel

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(nonnull id< MPSCNNConvolutionDataSource >) weights

Init a node representing a MPSCNNFullyConnected 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 MPSCNNFullyConnected kernel.

Implements MPSCNNConvolutionNode.

Init an autoreleased not representing a MPSCNNFullyConnected 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.

Implements MPSCNNConvolutionNode.

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3