| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | num_outputs |
Number of output features |
||
| integer, | intent(in) | :: | num_modes |
Number of learnable spectral poles |
||
| integer, | intent(in), | optional | :: | num_inputs |
Number of input features when known at construction time |
|
| logical, | intent(in), | optional | :: | use_bias |
Whether to allocate a bias term |
|
| class(*), | intent(in), | optional | :: | activation |
Activation function specification |
|
| class(*), | intent(in), | optional | :: | kernel_initialiser |
Kernel and bias initialiser specifications |
|
| class(*), | intent(in), | optional | :: | bias_initialiser |
Kernel and bias initialiser specifications |
|
| integer, | intent(in), | optional | :: | verbose |
Verbosity level |
Constructed dynamic LNO layer
module function layer_setup( & num_outputs, num_modes, num_inputs, use_bias, & activation, & kernel_initialiser, bias_initialiser, verbose & ) result(layer) integer, intent(in) :: num_outputs integer, intent(in) :: num_modes integer, optional, intent(in) :: num_inputs logical, optional, intent(in) :: use_bias class(*), optional, intent(in) :: activation class(*), optional, intent(in) :: kernel_initialiser, bias_initialiser integer, optional, intent(in) :: verbose type(dynamic_lno_layer_type) :: layer end function layer_setup