hyperparameters_s Submodule


Uses

    • assert_m
  • module~~hyperparameters_s~~UsesGraph module~hyperparameters_s hyperparameters_s assert_m assert_m module~hyperparameters_s->assert_m module~hyperparameters_m hyperparameters_m module~hyperparameters_s->module~hyperparameters_m module~kind_parameters_m kind_parameters_m module~hyperparameters_m->module~kind_parameters_m sourcery_string_m sourcery_string_m module~hyperparameters_m->sourcery_string_m

Variables

Type Visibility Attributes Name Initial
character(len=*), private, parameter :: learning_rate_key = "learning rate"
character(len=*), private, parameter :: mini_batches_key = "mini-batches"
character(len=*), private, parameter :: optimizer_key = "optimizer"

Module Procedures

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html equals elemental module function equals(lhs, rhs) result(lhs_equals_rhs)

Arguments

Type IntentOptional Attributes Name
class(hyperparameters_t), intent(in) :: lhs
class(hyperparameters_t), intent(in) :: rhs

Return Value logical

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html from_components pure module function from_components(mini_batches, learning_rate, optimizer) result(hyperparameters)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: mini_batches
real, intent(in) :: learning_rate
character(len=*), intent(in) :: optimizer

Return Value type(hyperparameters_t)

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html from_json pure module function from_json(lines) result(hyperparameters)

Arguments

Type IntentOptional Attributes Name
type(string_t), intent(in) :: lines(:)

Return Value type(hyperparameters_t)

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html learning_rate elemental module function learning_rate(self) result(rate)

Arguments

Type IntentOptional Attributes Name
class(hyperparameters_t), intent(in) :: self

Return Value real(kind=rkind)

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html mini_batches elemental module function mini_batches(self) result(num_mini_batches)

Arguments

Type IntentOptional Attributes Name
class(hyperparameters_t), intent(in) :: self

Return Value integer

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html optimizer_name elemental module function optimizer_name(self) result(identifier)

Arguments

Type IntentOptional Attributes Name
class(hyperparameters_t), intent(in) :: self

Return Value type(string_t)

module procedure /home/runner/work/inference-engine/inference-engine/doc/html/module/hyperparameters_s.html to_json pure module function to_json(self) result(lines)

Arguments

Type IntentOptional Attributes Name
class(hyperparameters_t), intent(in) :: self

Return Value type(string_t), allocatable, (:)