Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 825 Bytes

SigmoidLayer.md

File metadata and controls

35 lines (21 loc) · 825 Bytes

CSigmoidLayer Class

This class implements a layer that calculates the sigmoid activation function for each element of a single input.

The activation function is calculated according to the formula:

f(x) = 1 / (1 + pow(e, -x))

Settings

There are no settings for this layer.

Trainable parameters

There are no trainable parameters for this layer.

Inputs

There is only one input, which accepts a data blob of arbitrary size.

Outputs

There is only one output of the same size as the input. Each element contains the value of the activation function on the corresponding element of the input.