MPSCNNNeuronSigmoid(3) MetalPerformanceShaders.framework MPSCNNNeuronSigmoid(3)

MPSCNNNeuronSigmoid

#import <MPSCNNNeuron.h>

Inherits MPSCNNNeuron.


(nonnull instancetype) - initWithDevice:

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

- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device

Initialize a neuron filter

Parameters:

device The device the filter will run on

Returns:

A valid MPSCNNNeuronSigmoid 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