Get the number of parameters in the layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_layer_type), | intent(in) | :: | this |
Instance of the layer |
Number of parameters
pure module function get_num_params_base(this) result(num_params) !! Get the number of parameters in the layer implicit none ! Arguments class(base_layer_type), intent(in) :: this !! Instance of the layer integer :: num_params !! Number of parameters ! No parameters in the base layer num_params = 0 end function get_num_params_base