FNN 1.0.0
Toolbox to use NNs in Fortran.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
fnn_activation_linear::linearactivation Type Reference

Base class for all activation functions. Implements a linear activation function. More...

Inheritance diagram for fnn_activation_linear::linearactivation:
Inheritance graph
[legend]

Public Member Functions

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...
 

Public Attributes

integer(ikbatch_size
 The batch size. More...
 

Private Attributes

integer(ikself_size
 The dimension of the input and output of the activation function. More...
 

Detailed Description

Base class for all activation functions. Implements a linear activation function.

Member Function/Subroutine Documentation

◆ apply_adjoint()

procedure, pass, public fnn_activation_linear::linearactivation::apply_adjoint

Applies the adjoint of the activation function.

Implemented by linear_apply_adjoint.

◆ apply_forward()

procedure, pass, public fnn_activation_linear::linearactivation::apply_forward

Applies and linearises the activation function.

Implemented by linear_apply_forward.

◆ apply_tangent_linear()

procedure, pass, public fnn_activation_linear::linearactivation::apply_tangent_linear

Applies the TL of the activation function.

Implemented by linear_apply_tangent_linear.

◆ tofile()

procedure, pass, public fnn_activation_linear::linearactivation::tofile

Saves the activation function.

Implemented by linear_tofile.

Member Data Documentation

◆ batch_size

integer(ik) fnn_activation_linear::linearactivation::batch_size

The batch size.

◆ self_size

integer(ik) fnn_activation_linear::linearactivation::self_size
private

The dimension of the input and output of the activation function.


The documentation for this type was generated from the following file: