MPSCNNNeuronSigmoid(3)
NAME
MPSCNNNeuronSigmoid
SYNOPSIS
#import <MPSCNNConvolution.h>
Inherits MPSCNNNeuron.
Instance Methods
(nonnull instancetype) - initWithDevice:
Additional Inherited Members
Detailed Description
This depends on Metal.framework Specifies the sigmoid neuron filter.
For each pixel, applies the following function: f(x) = 1 / (1 + e^-x)
Method Documentation
- (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 MPSCNNKernel.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNNeuronSigmoid(3)
Mac OS X 10.13.1 - Generated Mon Nov 6 18:49:58 CST 2017