Giter Club home page Giter Club logo

Comments (5)

Baha avatar Baha commented on August 17, 2024

I support this change.

When I started working with tokens, I realized they were just containers of matrixes... Not matrixes themselves. I think it would be more intuitive for someone to use tokens as matrixes than not accessing to the matrixes in the tokens.

from april-ann.

pakozm avatar pakozm commented on August 17, 2024

That's the point, so, I count one more in favour :-)

from april-ann.

pakozm avatar pakozm commented on August 17, 2024

I have some concerns about deriving Matrix from Token. It is basically that Tokens are inspired by dataflow architectures, where data is interchanged between different modules by passing Tokens trough special channel connections. The problem, in my opinion, is that we don't need to be forced to use wrappers of data types. It can be better to allow data types to be serialized over channels in some kind of binary or textual representation. It is a really important thing, we need a better serialization/deserialization scheme in APRIL-ANN.
I will try to implement, in a first a attempt, a simple binding function which dynamically un-wraps tokens into Lua, and tokens will be ignored from the point of view of Lua operations. This will simplify the glue between C/C++ and Lua regarding to Tokens stuff.

from april-ann.

pakozm avatar pakozm commented on August 17, 2024

Ok, automatic unwrap of Tokens before push them into Lua is ready. Stills being a question if it would be better to derive Matrix from TokenBase, instead of wrap Matrix into a Token. This discussion will be important when dataflow architecture shall be developed.

from april-ann.

pakozm avatar pakozm commented on August 17, 2024

Closing this issue, it can be reopened in the future with the delivering of dataflow stuff into the public repository.

from april-ann.

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.