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 1bef0aa commit 9d2f634Copy full SHA for 9d2f634
src/nf/nf_layer_submodule.f90
@@ -379,6 +379,8 @@ pure module function get_gradients(self) result(gradients)
379
! No gradients to get.
380
type is (reshape3d_layer)
381
382
+ type is (rnn_layer)
383
+ gradients = this_layer % get_gradients()
384
class default
385
error stop 'get_gradients() with unknown layer type.'
386
end select
0 commit comments