Coder Social home page Coder Social logo

rnn的bptt貌似有问题 about learn_dl HOT 4 OPEN

treezhao1024 avatar treezhao1024 commented on July 27, 2024
rnn的bptt貌似有问题

from learn_dl.

Comments (4)

xiangyubo avatar xiangyubo commented on July 27, 2024

同问,我也觉得应该是对copy出来的state去做,因为后面计算的时候用的是 diag(state)

from learn_dl.

luoshizhi avatar luoshizhi commented on July 27, 2024

同问,应该是对state_list[k]求导,不是state_list[k+1]吧

from learn_dl.

cyrixlin avatar cyrixlin commented on July 27, 2024

是的,原代码是有问题。请大家参考29#,我做了梯度验证(代码修改前、修改后),证明了原代码有问题,修改后的是正确的。正确代码也在29#,供大家参考。

from learn_dl.

xiangyubo avatar xiangyubo commented on July 27, 2024

感谢大大的辛勤付出

from learn_dl.

Related Issues (20)

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.