Giter Site home page Giter Site logo

Comments (5)

pavanky avatar pavanky commented on June 11, 2024

LinearNode merely performs the matrix multiplication. The activation part is done separately. This is similar to what other neural network libraries / frameworks are doing. From what I have looked at, this looks like a good design choice. I am not sure if changing LinearNode is a good idea. If it is necessary for convenience, you can easily do this in user code.

For example FFNet sort of does this, but is more generalized. You can have a specialization of FFNet and restrict it to what you have mentioned here.

from arrayfire-ml.

jramapuram avatar jramapuram commented on June 11, 2024

The linear node was just an example. I can't have the activations be external to the node for an LSTM.
Some gates (eg: memory gate) are dependent on activations of the previous gates and thus cannot be refactored outside of the node level.

from arrayfire-ml.

pavanky avatar pavanky commented on June 11, 2024

Fair enough. I have not yet started looking into LSTMs. I am currently implementing some core functionality necessary for convolutional nets in ArrayFire. I will keep this in mind when looking at LSTMs.

from arrayfire-ml.

jramapuram avatar jramapuram commented on June 11, 2024

I'v already started writing a skeleton of LSTMs. Will submit a pull soon

from arrayfire-ml.

pavanky avatar pavanky commented on June 11, 2024

No longer relevant.

from arrayfire-ml.

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.