Module containing functions to set up initialisers
This module contains functions to set up initialisers for the weights and biases of a neural network model Examples of initialsers in keras: https://keras.io/api/layers/initializers/
Get the default initialiser based on the activation function
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | activation |
Activation function |
||
| logical, | intent(in), | optional | :: | is_bias |
Boolean whether initialiser is for bias |
Set up the initialiser function
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*) | :: | input |
Name of initialiser or initialiser object |
|||
| integer, | intent(out), | optional | :: | error |
Error code |
Initialiser function