Skip to content

Commit

Permalink
feat: layer setting params for RNN
Browse files Browse the repository at this point in the history
  • Loading branch information
castelao committed Nov 14, 2023
1 parent 9d2f634 commit 3fa5281
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nf/nf_layer_submodule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ module subroutine set_params(self, params)
write(stderr, '(a)') 'Warning: calling set_params() ' &
// 'on a zero-parameter layer; nothing to do.'

type is (rnn_layer)
call this_layer % set_params(params)

class default
error stop 'set_params() with unknown layer type.'
end select
Expand Down

0 comments on commit 3fa5281

Please sign in to comment.