input_output_pair_t Derived Type

type, public :: input_output_pair_t


Inherits

type~~input_output_pair_t~~InheritsGraph type~input_output_pair_t input_output_pair_t type~tensor_t tensor_t type~input_output_pair_t->type~tensor_t inputs_, expected_outputs_

Inherited by

type~~input_output_pair_t~~InheritedByGraph type~input_output_pair_t input_output_pair_t type~mini_batch_t mini_batch_t type~mini_batch_t->type~input_output_pair_t input_output_pairs_

Components

Type Visibility Attributes Name Initial
integer, public, kind :: k = default_real
type(tensor_t(k)), private :: expected_outputs_
type(tensor_t(k)), private :: inputs_

Constructor

public interface input_output_pair_t

  • private elemental module function default_real_construct(inputs, expected_outputs) result(input_output_pair)

    Arguments

    Type IntentOptional Attributes Name
    type(tensor_t), intent(in) :: inputs
    type(tensor_t), intent(in) :: expected_outputs

    Return Value type(input_output_pair_t)

  • private elemental module function double_precision_construct(inputs, expected_outputs) result(input_output_pair)

    Arguments

    Type IntentOptional Attributes Name
    type(tensor_t(double_precision)), intent(in) :: inputs
    type(tensor_t(double_precision)), intent(in) :: expected_outputs

    Return Value type(input_output_pair_t(double_precision))


Type-Bound Procedures

generic, public :: expected_outputs => default_real_expected_outputs, double_precision_expected_outputs

generic, public :: inputs => default_real_inputs, double_precision_inputs

procedure, private, non_overridable :: default_real_expected_outputs

  • interface

    private elemental module function default_real_expected_outputs(self) result(my_expected_outputs)

    Arguments

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

    Return Value type(tensor_t)

procedure, private, non_overridable :: default_real_inputs

  • interface

    private elemental module function default_real_inputs(self) result(my_inputs)

    Arguments

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

    Return Value type(tensor_t)

procedure, private, non_overridable :: double_precision_expected_outputs

  • interface

    private elemental module function double_precision_expected_outputs(self) result(my_expected_outputs)

    Arguments

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

    Return Value type(tensor_t(double_precision))

procedure, private, non_overridable :: double_precision_inputs

  • interface

    private elemental module function double_precision_inputs(self) result(my_inputs)

    Arguments

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

    Return Value type(tensor_t(double_precision))