MPSCNNNeuronSoftSign(3)
NAME
MPSCNNNeuronSoftSign
SYNOPSIS
#import <MPSCNNConvolution.h>
Inherits MPSCNNNeuron.
Instance Methods
(nonnull instancetype) - initWithDevice:
Additional Inherited Members
Detailed Description
This depends on Metal.framework Specifies the softsign neuron filter.
For each pixel, applies the following function: f(x) = x / (1 + abs(x))
Method Documentation
- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device
Initialize a softsign neuron filter
Parameters:
device The device the filter will run on
Returns:
A valid MPSCNNNeuronSoftSign object or nil, if failure.
Reimplemented from MPSCNNKernel.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNNeuronSoftSign(3)
Mac OS X 10.12.6 - Generated Sun Oct 29 19:02:18 CDT 2017