Re: mxnet ndarray inference in js

2017-11-06 Thread TongKe Xue
Hi Hagay, Good point. The high level problem is: I want to run mxnet training on GPU, and inference on CPU -- browsers / javascript in particular. On the training side, I'm dealing mostly with NDArray / doing my own gradient calculations / optimization. I would like some library for the

Re: mxnet ndarray inference in js

2017-11-06 Thread Lupesko, Hagay
TongKe, What’s the use case you are after? Answering this question may help us help you ( Hagay On 11/2/17, 12:10, "TongKe Xue" wrote: Hi, I'm looking for a js library compatible with mxnet/ndarray. 1. I am aware of https://github.com/dmlc/mxnet.js/

Re: mxnet ndarray inference in js

2017-11-02 Thread TongKe Xue
If I'm understanding mxnet.js correctly, any mxnet model can be converted to mxnet.js via: https://github.com/dmlc/mxnet.js/blob/master/tools/model2json.py and then executed on mxnet.js Questions: is this 'mxnet json model' format documented anywhere? On Thu, Nov 2, 2017 at 12:10 PM, TongKe