Skip to content

Talario\Activation

Requires a Talario build. Licensed builds are available through sales. There is no public download. Availability

__construct

new Activation(string $kind)

Create an activation of kind 'relu', 'sigmoid', or 'tanh'.

__invoke

__invoke(Tape $t, int $x): int

Apply the activation over the tape.

Using a coding agent?

Copy a prompt for Talario\Activation, with the API reference.