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 f6c0854 commit e34671eCopy full SHA for e34671e
src/nf/nf_layer_submodule.f90
@@ -383,12 +383,14 @@ end subroutine set_params
383
384
385
impure elemental module subroutine update(self, learning_rate)
386
- implicit none
387
class(layer), intent(in out) :: self
388
real, intent(in) :: learning_rate
389
390
- select type(this_layer => self % p); type is(dense_layer)
391
- call this_layer % update(learning_rate)
+ select type(this_layer => self % p)
+ type is(dense_layer)
+ call this_layer % update(learning_rate)
392
+ type is(conv2d_layer)
393
394
end select
395
396
end subroutine update
0 commit comments