Giter Club home page Giter Club logo

Comments (2)

ajbrock avatar ajbrock commented on June 26, 2024

Excellent question; "self.layer_index" is actually the number of layers in the network overall. This is only called "layer_index" and not "num_layers" or "L" because I quickly adopted the init() code from my earlier implementation, which used b.layer_index to calculate the mult coefficient for each block's init.

I had earlier thought (and had confirmed by the authors, although this was a communication mistake) that the coefficient for each layer was based on the depth of that layer (b.layer_index), rather than the overall depth of the network (self.layer_index).

You might be able to make a case that since each layer is at the end of a b.layer_index stack, this is still a workable interpretation, but this was not the intent of the authors (or how they implemented it), even if it does still train.

from boilerplate.

rh314 avatar rh314 commented on June 26, 2024

Thanks for the reply.

I had another look at the paper and the paragraph just below equation 5 contains an expression that does not depend on the branch number (i), but only on the total number of branches (m).
This did surprise me a bit since it would make intuitive sense to me that the optimal equation would include something about the position in the network.

You can close the issue now, this was an interesting chat!

from boilerplate.

Related Issues (2)

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.