neuron_m Module


Uses

  • module~~neuron_m~~UsesGraph module~neuron_m neuron_m module~kind_parameters_m kind_parameters_m module~neuron_m->module~kind_parameters_m sourcery_string_m sourcery_string_m module~neuron_m->sourcery_string_m

Used by

  • module~~neuron_m~~UsedByGraph module~neuron_m neuron_m module~inference_engine_s inference_engine_s module~inference_engine_s->module~neuron_m module~layer_m layer_m module~inference_engine_s->module~layer_m module~layer_m->module~neuron_m module~neuron_s neuron_s module~neuron_s->module~neuron_m module~layer_s layer_s module~layer_s->module~layer_m

Interfaces

public interface neuron_t

  • private pure recursive module function construct(neuron_lines, start) result(neuron)

    construct linked list of neuron_t objects from an array of JSON-formatted text lines

    Arguments

    Type IntentOptional Attributes Name
    type(string_t), intent(in) :: neuron_lines(:)
    integer, intent(in) :: start

    Return Value type(neuron_t)

interface

  • private module function bias(self) result(my_bias)

    Arguments

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

    Return Value real(kind=rkind)

interface

  • private module function next_allocated(self) result(next_is_allocated)

    Arguments

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

    Return Value logical

interface

  • private module function next_pointer(self) result(next_ptr)

    Arguments

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

    Return Value type(neuron_t), pointer

interface

  • private pure module function num_inputs(self) result(size_weights)

    Arguments

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

    Return Value integer

interface

  • private module function weights(self) result(my_weights)

    Arguments

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

    Return Value real(kind=rkind), allocatable, (:)


Derived Types

type, public ::  neuron_t

linked list of neurons

Components

Type Visibility Attributes Name Initial
real(kind=rkind), private :: bias_
type(neuron_t), private, allocatable :: next
real(kind=rkind), private, allocatable :: weights_(:)

Constructor

private pure, recursive, module function construct (neuron_lines, start)

construct linked list of neuron_t objects from an array of JSON-formatted text lines

Type-Bound Procedures

procedure, public :: bias
procedure, public :: next_allocated
procedure, public :: next_pointer
procedure, public :: num_inputs
procedure, public :: weights