Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/nf/nf_network_submodule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,11 @@ module subroutine print_info(self)
end subroutine print_info


pure module function get_num_params(self) result(num_params)
pure module function get_num_params(self)
class(network), intent(in) :: self
integer :: num_params
integer :: get_num_params

num_params = sum(self % layers % get_num_params())
get_num_params = sum(self % layers % get_num_params())

end function get_num_params

Expand Down