Git Product home page Git Product logo

Comments (3)

perhapszzy avatar perhapszzy commented on June 18, 2024

因为这里每次得到的final state会传入下一次调用,所以虽然截断长度为1,仍然可以保证所有的数据可以连在一起

from tensorflow-tutorial.

sfzhou5678 avatar sfzhou5678 commented on June 18, 2024

@perhapszzy 您好,感谢您的回复。

我还想问:因为train阶段的final_state也会传入下次调用,那train的num_steps的意义是什么呢?

因为无论多大的num_steps都可以完整的保留上文进state,那么是不是num_steps越小,loss更新的越频繁,最后的准确率越高?

from tensorflow-tutorial.

perhapszzy avatar perhapszzy commented on June 18, 2024

num_step影响梯度的计算,数字越大,一次更新累计的东西越多;数字越小,不同时刻的影响越小。

from tensorflow-tutorial.

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.