tensor_t Derived Type

type, public :: tensor_t


Inherited by

type~~tensor_t~~InheritedByGraph type~tensor_t tensor_t type~input_output_pair_t input_output_pair_t type~input_output_pair_t->type~tensor_t inputs_, expected_outputs_ 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
real(kind=rkind), private, allocatable :: values_(:)

Constructor

public interface tensor_t

  • private pure module function construct_from_components(values) result(tensor)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rkind), intent(in) :: values(:)

    Return Value type(tensor_t)


Type-Bound Procedures

procedure, public :: num_components

  • interface

    private pure module function num_components(self) result(n)

    Arguments

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

    Return Value integer

procedure, public :: values

  • interface

    private pure module function values(self) result(tensor_values)

    Arguments

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

    Return Value real(kind=rkind), allocatable, (:)