MPSCNNNeuronSoftSign(3) MetalPerformanceShaders.framework MPSCNNNeuronSoftSign(3)

MPSCNNNeuronSoftSign

#import <MPSCNNNeuron.h>

Inherits MPSCNNNeuron.


(nonnull instancetype) - initWithDevice:

This depends on Metal.framework Specifies the softsign neuron filter. For each pixel, applies the following function: f(x) = x / (1 + abs(x))

- (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.

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3