This module defines an abstract class to define learning rate functions
Template for a function that calculates the learning rate Import section
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(learning_rate_function_base) | :: | learning_rate_fn | 
                 An   | 
        |||
| real(kind=wp), | intent(inout) | :: | iteration | 
                 A real variable with the current iteration  | 
        
A real variable with the learning rate
Template for a function to define the parameters of the learning rate function
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(learning_rate_function_base) | :: | learning_rate_fn | ||||
| real(kind=wp) | :: | lambda0 | ||||
| real(kind=wp) | :: | tau | 
Abstract class used to derive classes that calculates the learning rate
| procedure(learning_rate_set_parameters), public, deferred :: set_parameters | |
| procedure(learning_rate_calculate), public, deferred :: calculate |