trainable_network_t Interface

public interface trainable_network_t

Functions

private module function default_real_construct_from_components(metadata, weights, biases, nodes, input_map, output_map) result(trainable_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(trainable_network_t)

private impure elemental module function default_real_from_json(file) result(trainable_network)

Arguments

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

Return Value type(trainable_network_t)

private pure module function default_real_network(neural_network) result(trainable_network)

Arguments

Type IntentOptional Attributes Name
type(neural_network_t), intent(in) :: neural_network

Return Value type(trainable_network_t)

private module function perturbed_identity_network(training_configuration, perturbation_magnitude, metadata, input_map, output_map) result(trainable_network)

Arguments

Type IntentOptional Attributes Name
type(training_configuration_t), intent(in) :: training_configuration
real, intent(in) :: perturbation_magnitude
type(string_t), intent(in) :: metadata(:)
type(tensor_map_t) :: input_map
type(tensor_map_t) :: output_map

Return Value type(trainable_network_t)