Skip to content

Commit

Permalink
Enable network % output() of rnn_layer
Browse files Browse the repository at this point in the history
  • Loading branch information
milancurcic committed Dec 6, 2023
1 parent 736ded7 commit 3396edb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nf/nf_network_submodule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use nf_loss, only: quadratic_derivative
use nf_optimizers, only: optimizer_base_type, sgd
use nf_parallel, only: tile_indices
use nf_rnn_layer, only: rnn_layer
use nf_activation, only: activation_function, &
elu, &
exponential, &
Expand Down Expand Up @@ -391,6 +392,8 @@ module function predict_1d(self, input) result(res)
res = output_layer % output
type is(flatten_layer)
res = output_layer % output
type is(rnn_layer)
res = output_layer % output
class default
error stop 'network % output not implemented for this output layer'
end select
Expand Down

0 comments on commit 3396edb

Please sign in to comment.