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 julienne_string_m julienne_string_m module~hyperparameters_m->julienne_string_m module~double_precision_string_m double_precision_string_m module~hyperparameters_m->module~double_precision_string_m module~kind_parameters_m kind_parameters_m module~hyperparameters_m->module~kind_parameters_m julienne_m julienne_m module~double_precision_string_m->julienne_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/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_equals elemental module function default_real_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/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_from_components pure module function default_real_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/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_from_json pure module function default_real_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/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_learning_rate elemental module function default_real_learning_rate(self) result(rate)

Arguments

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

Return Value real

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_mini_batches elemental module function default_real_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/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_optimizer_name elemental module function default_real_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/fiats/fiats/doc/html/module/hyperparameters_s.html default_real_to_json pure module function default_real_to_json(self) result(lines)

Arguments

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

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

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_equals elemental module function double_precision_equals(lhs, rhs) result(lhs_equals_rhs)

Arguments

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

Return Value logical

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_from_components pure module function double_precision_from_components(mini_batches, learning_rate, optimizer) result(hyperparameters)

Arguments

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

Return Value type(hyperparameters_t(double_precision))

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_from_json pure module function double_precision_from_json(lines) result(hyperparameters)

Arguments

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

Return Value type(hyperparameters_t(double_precision))

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_learning_rate elemental module function double_precision_learning_rate(self) result(rate)

Arguments

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

Return Value double precision

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_mini_batches elemental module function double_precision_mini_batches(self) result(num_mini_batches)

Arguments

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

Return Value integer

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_optimizer_name elemental module function double_precision_optimizer_name(self) result(identifier)

Arguments

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

Return Value type(string_t)

module procedure /home/runner/work/fiats/fiats/doc/html/module/hyperparameters_s.html double_precision_to_json pure module function double_precision_to_json(self) result(lines)

Arguments

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

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