Comments (5)
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.
That's the point, so, I count one more in favour :-)
from april-ann.
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.
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.
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)
- package.lua is missing in ocr.off_line_text_preprocessing HOT 1
- Coding style guide HOT 1
- Homebrew release compilation histroy library not found HOT 1
- Compilation issues with devel branch HOT 1
- Const arguments in interest_points and other similar packages
- Travis CI, Homebrew and shared library
- Auto-complete problem HOT 1
- collaborate/incorporate/interoperate/merge with torch? HOT 3
- Updated function `leer_int_params` to throw errors in case of not table given HOT 1
- Add ee5_base64 library to `package.preload` table HOT 1
- String parser for CNNs construction
- Silent error in dataset.union
- Add a version and creation field on NN objects HOT 7
- Using train.lua with silence switches and --initial_hmm complains for missing --num-states switch
- Avoid multiple allocation when pushing same C++ object into Lua HOT 2
- Review prelu constructor HOT 1
- OMP + fork hanging up child process
- Smart pointers, Lua calls and protected calls
- build error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from april-ann.