tensor_names_t Derived Type

type, public :: tensor_names_t


Inherits

type~~tensor_names_t~~InheritsGraph type~tensor_names_t tensor_names_t string_t string_t type~tensor_names_t->string_t inputs_, outputs_

Inherited by

type~~tensor_names_t~~InheritedByGraph type~tensor_names_t tensor_names_t type~training_configuration_t training_configuration_t type~training_configuration_t->type~tensor_names_t tensor_names_

Components

Type Visibility Attributes Name Initial
type(string_t), private, allocatable :: inputs_(:)
type(string_t), private, allocatable :: outputs_(:)

Constructor

public interface tensor_names_t

  • private pure module function from_components(inputs, outputs) result(tensor_names)

    Arguments

    Type IntentOptional Attributes Name
    type(string_t), intent(in) :: inputs(:)
    type(string_t), intent(in) :: outputs(:)

    Return Value type(tensor_names_t)

  • private pure module function from_json(lines) result(tensor_names)

    Arguments

    Type IntentOptional Attributes Name
    class(string_t), intent(in) :: lines(:)

    Return Value type(tensor_names_t)


Type-Bound Procedures

procedure, public :: equals

  • interface

    private elemental module function equals(lhs, rhs) result(lhs_equals_rhs)

    Arguments

    Type IntentOptional Attributes Name
    class(tensor_names_t), intent(in) :: lhs
    class(tensor_names_t), intent(in) :: rhs

    Return Value logical

procedure, public :: input_names

  • interface

    private pure module function input_names(self) result(names)

    Arguments

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

    Return Value type(string_t), allocatable, (:)

generic, public :: operator(==) => equals

  • private interface equals()

    Arguments

    None

procedure, public :: output_names

  • interface

    private pure module function output_names(self) result(names)

    Arguments

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

    Return Value type(string_t), allocatable, (:)

procedure, public :: to_json

  • interface

    private pure module function to_json(self) result(lines)

    Arguments

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

    Return Value type(string_t), allocatable, (:)