Open castelao opened 1 year ago
Amazing, thanks and great to see you, @castelao, after so many years. 🙂
Will review this coming week.
@milancurcic , yes, it's great to connect again. Thank you and the other developers for your time in this library! It is great.
I'm not fluent in modern Fortran, so if you see anything that doesn't make sense, please let me know. And be aware, it is still a WIP.
I added the support for rnn_layer
to network % predict
so that we can run the simple_rnn example. However I can't get the simple example to converge and I'm not very familiar with recurrent networks. @castelao is there a small toy example like the one in simple.f90 that's known to converge and fast? We can then use it for testing as well. With a working example and a small test suite (I can add this), this PR is almost good to go.
@milancurcic , I have to check how you updated the library since the last time I worked on this and see if what I did is still consistent. If it looks fine, I intend to work on the following:
Are there any other requirements before I can submit this PR for review? It will be slow progress, but I'm back to this.
@castelao Thanks for all the additions. Sounds good.
main
into here, which would reflect the few recent changes in other layers that @jvdp1 mentioned.@jvdp1 , thanks for your suggestions. I'll work on that.
@milancurcic , yes, I have already rebased it with main
. I'm interested in the loading from Keras output, but I see your point. I'll leave that loading capability for another PR, but I'll work on the example for this one. Thanks!
A work in progress. I'm mostly interested in loading a TF model from HDF and applying predict(), but I'll do my best in doing a complete implementation coherent with the rest of the library.