MPSCNNNeuronSoftSign(3) MetalPerformanceShaders.framework MPSCNNNeuronSoftSign(3)
NAME
MPSCNNNeuronSoftSign
SYNOPSIS
#import <MPSCNNNeuron.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 MPSCNNNeuron.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNNeuronSoftSign(3)