Giter Site home page Giter Site logo

what is the difference between your dynamic implemetion of rnn and tf.nn.dynamic_rnn function ? about dynamic-tensorflow-tutorial HOT 3 CLOSED

knhuq avatar knhuq commented on September 26, 2024
what is the difference between your dynamic implemetion of rnn and tf.nn.dynamic_rnn function ?

from dynamic-tensorflow-tutorial.

Comments (3)

KnHuq avatar KnHuq commented on September 26, 2024

@ underspirit, Thanks for your important question. There are not much difference from their dynamic rnn. But their implementation is faster and perfect than this one. It is for learning purpose, how you create dynamic model with tensorflow. Suppose when you want to build your own model dynamically, you can not implement others API. I suggest anyone to use tenosrflow API rather than mine to implement exisitng models. My repo is for learning how to implement it. Tensorflow did not support dynamic sequence length before like theano, so it was problematic then for many of us, to implement new models with new equations dynamically with tensorflow. So my implementations shows you how you can handle those challenges. I hope it helps you.

from dynamic-tensorflow-tutorial.

underspirit avatar underspirit commented on September 26, 2024

Thanks a lot for for your explanation and your repo.

from dynamic-tensorflow-tutorial.

paduvi avatar paduvi commented on September 26, 2024

Thanks for your implement. It help me a lot how to build a custom RNN.
I still have a question, how can I define sequence length to stop tensorflow calculating padding and have to return exact last output instead of last fixed index.

tf.nn.dynamic_rnn has attribute sequence_length to do this. How can I implement it myself?

from dynamic-tensorflow-tutorial.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.