Coder Social home page Coder Social logo

能否讲解一下各变量 about char-rnn HOT 3 OPEN

hit-computer avatar hit-computer commented on September 26, 2024
能否讲解一下各变量

from char-rnn.

Comments (3)

ps360pa avatar ps360pa commented on September 26, 2024

顺便问一句,运行环境windows可以吗,我是python纯小白,命令行里直接输入就可以了吗?

from char-rnn.

hit-computer avatar hit-computer commented on September 26, 2024

依序解答一下您的问题吧:

  1. Ws_in,Ws_hh,bs_hh,Ws_in_r,Ws_in_z,Ws_hh_r,Ws_hh_z,bs_z,bs_r,Why,by这些变量都是GRU的参数,具体可以参考这篇论文GRU(Cho et al., 2014b)
  2. x = x.T表示矩阵转置
  3. ps = ps.flatten()是将矩阵展开成一个vector(1维的)
  4. h_0是GRU的隐含层,sod是当前生成字的id号,n是生成文本的长度(包含多少个字)
  5. Windows是可以运行的,需要安装python和Tensorflow,在cmd中运行即可

from char-rnn.

ps360pa avatar ps360pa commented on September 26, 2024

谢谢

from char-rnn.

Related Issues (6)

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.