sigmoid_calculate
Read-onlyIdempotent
Calculate sigmoid, tanh, relu, leaky_relu, elu, or swish activation values and derivatives from an input number for neural network workflows.
Instructions
Compute activation functions (sigmoid, tanh, relu, leaky_relu, elu, swish) and their derivatives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Input value. | |
| function | No | Activation function: sigmoid, tanh, relu, leaky_relu, elu, or swish. Default: sigmoid. |