FNN 1.0.0
Toolbox to use NNs in Fortran.
|
Implements a tanh
activation function.
More...
Public Member Functions | |
procedure, pass, public | tofile => tanh_tofile |
Saves the activation function. More... | |
procedure, pass, public | apply_forward => tanh_apply_forward |
Applies and linearises the activation function. More... | |
![]() | |
procedure, pass, public | apply_tangent_linear => nonlinear_apply_tangent_linear |
Applies the TL of the activation function. More... | |
procedure, pass, public | apply_adjoint => nonlinear_apply_adjoint |
Applies the adjoint of the activation function. More... | |
![]() | |
procedure, pass, public | tofile => linear_tofile |
Saves the activation function. More... | |
procedure, pass, public | apply_forward => linear_apply_forward |
Applies and linearises the activation function. More... | |
procedure, pass, public | apply_tangent_linear => linear_apply_tangent_linear |
Applies the TL of the activation function. More... | |
procedure, pass, public | apply_adjoint => linear_apply_adjoint |
Applies the adjoint of the activation function. More... | |
Additional Inherited Members | |
![]() | |
real(rk), dimension(:, :), allocatable, public | z_prime |
The storage for the linearisation. More... | |
![]() | |
integer(ik) | batch_size |
The batch size. More... | |
Implements a tanh
activation function.
procedure, pass, public fnn_activation_tanh::tanhactivation::apply_forward |
Applies and linearises the activation function.
Implemented by tanh_apply_forward.
procedure, pass, public fnn_activation_tanh::tanhactivation::tofile |
Saves the activation function.
Implemented by tanh_tofile.