We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3588d07 commit dce3b0aCopy full SHA for dce3b0a
src/nf/nf_network_submodule.f90
@@ -369,11 +369,11 @@ module subroutine print_info(self)
369
end subroutine print_info
370
371
372
- pure module function get_num_params(self) result(num_params)
+ pure module function get_num_params(self)
373
class(network), intent(in) :: self
374
- integer :: num_params
+ integer :: get_num_params
375
376
- num_params = sum(self % layers % get_num_params())
+ get_num_params = sum(self % layers % get_num_params())
377
378
end function get_num_params
379
0 commit comments