CellularAutomata
Loading...
Searching...
No Matches
CellularAutomata::Activations::tanh< T > Class Template Reference

Smooth clamp between [-1, 1]. More...

#include <activations.hpp>

Public Member Functions

operator() (const T x) const
 Functor call.
 

Detailed Description

template<typename T>
class CellularAutomata::Activations::tanh< T >

Smooth clamp between [-1, 1].

Template Parameters
Ttype

Member Function Documentation

◆ operator()()

template<typename T >
T CellularAutomata::Activations::tanh< T >::operator() ( const T  x) const

Functor call.

Parameters
xinput
Returns
transformed x

The documentation for this class was generated from the following files: