neural_network_t Interface

public interface neural_network_t

Functions

private module function default_real_construct_from_components(metadata, weights, biases, nodes, input_map, output_map) result(neural_network)

Arguments

Type IntentOptional Attributes Name
type(string_t), intent(in) :: metadata(:)
real, intent(in) :: weights(:,:,:)
real, intent(in) :: biases(:,:)
integer, intent(in) :: nodes(0:)
type(tensor_map_t), intent(in), optional :: input_map
type(tensor_map_t), intent(in), optional :: output_map

Return Value type(neural_network_t)

private impure elemental module function default_real_from_json(file_) result(neural_network)

Arguments

Type IntentOptional Attributes Name
type(file_t), intent(in) :: file_

Return Value type(neural_network_t)

private module function double_precision_construct_from_components(metadata, weights, biases, nodes, input_map, output_map) result(neural_network)

Arguments

Type IntentOptional Attributes Name
type(metadata_t), intent(in) :: metadata
double precision, intent(in) :: weights(:,:,:)
double precision, intent(in) :: biases(:,:)
integer, intent(in) :: nodes(0:)
type(tensor_map_t(double_precision)), intent(in), optional :: input_map
type(tensor_map_t(double_precision)), intent(in), optional :: output_map

Return Value type(neural_network_t(double_precision))

private impure elemental module function double_precision_from_json(file) result(neural_network)

Arguments

Type IntentOptional Attributes Name
type(double_precision_file_t), intent(in) :: file

Return Value type(neural_network_t(double_precision))