Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Pass an array of features forward and the corresponding loss gradients
backward through multiple models in batches.
Arguments
models :
type(ModelPtr) (dim: (:,:)) [inout]– The model through which the forward pass will be performed.
model_indices :
integer (dim: (:)) [in]
features :
real(DP) (dim: (:,:)) [inout]– The feature values for each sample (max_num_features x num_samples).
loss_gradients :
real(DP) (dim: (:,:,:,:)) [in]– If given, this contains the loss gradient for each sample
and is used as the starting point for the backward pass.
Dimensions: (max_num_output_values, num_samples, committee_size, num_models)
num_features :
integer (dim: (MAX_ELEM_NUM)) [in]– The number of features for each atomic number and each model in `features.
The number of features is the same for all committee members of one
model.
num_extra_features :
integer (dim: (size(models,2))) [in]– The number of additional feature values that will be appended to the
`features` array.
extra_features :
real(DP) (dim: (:,:,:,:)) [in]– Additional feature values that will be appended to the `features` array.
The features array must be large enough upon entry to accomodate all
extra_features. The number of extra_features can be different between
models, but is the same for all committee members of a model.
The values of extra_features can differ between committee members and
will be copied to the correct place before the full features array
is passed to the model.
Dimensions: (maxval(num_extra_features), num_samples, committee_size, num_models).
batchsize :
integer (dim: (MAX_ELEM_NUM)) [in]– How large the batches are supposed to be for each atomic number.
atomic_numbers :
integer (dim: (:)) [in]– The atomic number belonging to each sample in `features`
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Pass an array of features forward and the corresponding loss gradients
backward through multiple models in batches.
Arguments
models :
type(ModelPtr) (dim: (:)) [inout]– The model through which the forward pass will be performed.
features :
real(DP) (dim: (:,:)) [inout]– The feature values for each sample (max_num_features x num_samples).
loss_gradients :
real(DP) (dim: (:,:,:)) [in]– If given, this contains the loss gradient for each sample
and is used as the starting point for the backward pass.
Dimensions: (max_num_output_values, num_samples, committee_size)
num_features :
integer (dim: (MAX_ELEM_NUM)) [in]– The number of features for each atomic number and each model in `features.
The number of features is the same for all committee members of one
model.
num_extra_features :
integer [in]– The number of additional feature values that will be appended to the
`features` array.
extra_features :
real(DP) (dim: (:,:,:)) [in]– Additional feature values that will be appended to the `features` array.
The features array must be large enough upon entry to accomodate all
extra_features. The number of extra_features can be different between
models, but is the same for all committee members of a model.
The values of extra_features can differ between committee members and
will be copied to the correct place before the full features array
is passed to the model.
Dimensions: (maxval(num_extra_features), num_samples, committee_size).
batchsize :
integer (dim: (MAX_ELEM_NUM)) [in]– How large the batches are supposed to be for each atomic number.
atomic_numbers :
integer (dim: (:)) [in]– The atomic number belonging to each sample in `features`
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.