neuron_t Interface

public interface neuron_t

Functions

private pure module function default_real_from_components(weights, bias) result(neuron)

construct single neuron_t object from an array of weights and a bias

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: weights(:)
real, intent(in) :: bias

Return Value type(neuron_t)

private pure module function double_precision_from_components(weights, bias) result(neuron)

construct single neuron_t object from an array of weights and a bias

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: weights(:)
double precision, intent(in) :: bias

Return Value type(neuron_t(double_precision))

private pure recursive module function double_precision_from_json(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(double_precision_string_t), intent(in) :: neuron_lines(:)
integer, intent(in) :: start

Return Value type(neuron_t(double_precision))

private pure recursive module function from_json(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)