Skip to content

Commit 3fa5281

Browse files
committed
feat: layer setting params for RNN
1 parent 9d2f634 commit 3fa5281

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/nf/nf_layer_submodule.f90

+3
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,9 @@ module subroutine set_params(self, params)
438438
write(stderr, '(a)') 'Warning: calling set_params() ' &
439439
// 'on a zero-parameter layer; nothing to do.'
440440

441+
type is (rnn_layer)
442+
call this_layer % set_params(params)
443+
441444
class default
442445
error stop 'set_params() with unknown layer type.'
443446
end select

0 commit comments

Comments
 (0)