You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for responding - given that these refactorings are basically about implementing functional-a style interface, do you think you could provide a functional-style set of APIs in the form of map/filter and reduce that basically deal with arrays and callbacks directly ?
That would make it much easier for other ANN projects to use arrayfire in a higher-level fashion while isolating them from lower-level API changes.
For instance, here's the response from @cazala (synaptic lead developer), where he specifically stated that the changes required for adopting arrayfire would be fairly self-contained once we can access/use arrayfire in a map/reduce fashion: cazala/synaptic#70 (comment)
@UniqueFool Please note #9. Resolving that issue will lead fundamental API changes for sure. I'm going back to this thread once the new version stabilizes, and then I can review your above suggestion.
Unfortunately I couldn't come up with a solution in Node.js that is better (faster) than we have in the current version. ArrayFire's design could not fit very well with the Nature of Node's event queue, so it turned out, my first approach is the best that I can come up with. The good news is that already near feature complete, just check out the examples folder.
Activity
unbornchikken commentedon May 30, 2016
Yeah, AF.js works well for this case, but you gotta expect some serious API changes (sync -> async) because of #9.
UniqueFool commentedon May 31, 2016
Hi, thank you for responding - given that these refactorings are basically about implementing functional-a style interface, do you think you could provide a functional-style set of APIs in the form of map/filter and reduce that basically deal with arrays and callbacks directly ?
That would make it much easier for other ANN projects to use arrayfire in a higher-level fashion while isolating them from lower-level API changes.
For instance, here's the response from @cazala (synaptic lead developer), where he specifically stated that the changes required for adopting arrayfire would be fairly self-contained once we can access/use arrayfire in a map/reduce fashion: cazala/synaptic#70 (comment)
Thank you
unbornchikken commentedon Aug 16, 2016
@UniqueFool Please note #9. Resolving that issue will lead fundamental API changes for sure. I'm going back to this thread once the new version stabilizes, and then I can review your above suggestion.
robertleeplummerjr commentedon Mar 22, 2017
any headway?
unbornchikken commentedon Mar 23, 2017
Unfortunately I couldn't come up with a solution in Node.js that is better (faster) than we have in the current version. ArrayFire's design could not fit very well with the Nature of Node's event queue, so it turned out, my first approach is the best that I can come up with. The good news is that already near feature complete, just check out the examples folder.
robertleeplummerjr commentedon May 14, 2017
So in https://github.com/arrayfire/arrayfire-js/blob/master/examples/es6/machine-learning/ann.js#L15 I see a log of synchronous examples,
for(var i =essentially. What if we inverted the logic so that we are transforming a vector, rather then a matrix? In short (taken from: gpujs/gpu.js#67 (comment))We could implement something more like: