network_configuration_t Derived Type

type, public :: network_configuration_t


Inherited by

type~~network_configuration_t~~InheritedByGraph type~network_configuration_t network_configuration_t type~training_configuration_t training_configuration_t type~training_configuration_t->type~network_configuration_t network_configuration_

Components

Type Visibility Attributes Name Initial
character(len=:), private, allocatable :: activation_name_
integer, private, allocatable :: nodes_per_layer_(:)
logical, private :: skip_connections_ = .false.

Constructor

public interface network_configuration_t

  • private pure module function from_components(skip_connections, nodes_per_layer, activation_name) result(network_configuration)

    Arguments

    Type IntentOptional Attributes Name
    logical, intent(in) :: skip_connections
    integer, intent(in) :: nodes_per_layer(:)
    character(len=*), intent(in) :: activation_name

    Return Value type(network_configuration_t)

  • private pure module function from_double_precision_string_json(lines) result(network_configuration)

    Arguments

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

    Return Value type(network_configuration_t)

  • private pure module function from_json(lines) result(network_configuration)

    Arguments

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

    Return Value type(network_configuration_t)


Type-Bound Procedures

procedure, public :: activation_name

  • interface

    private elemental module function activation_name(self) result(string)

    Arguments

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

    Return Value type(string_t)

procedure, public :: equals

procedure, public :: nodes_per_layer

  • interface

    private pure module function nodes_per_layer(self) result(nodes)

    Arguments

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

    Return Value integer, allocatable, (:)

generic, public :: operator(==) => equals

  • private interface equals()

    Arguments

    None

procedure, public :: skip_connections

  • interface

    private elemental module function skip_connections(self) result(using_skip)

    Arguments

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

    Return Value logical

procedure, public :: to_json

  • interface

    private pure module function to_json(self) result(lines)

    Arguments

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

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