mxnet slack channel

2017-11-18 Thread TongKe Xue
Requesting an invitation to slack. Thanks, --TongKe

is Convolution supported on NDArray ?

2017-11-07 Thread TongKe Xue
Hi, I know the following: 1. Symbol supports Convolution :: https://mxnet.incubator.apache.org/api/scala/symbol.html 2. Some functions are dynamically added to Symbol/NDArray at runtime. 3. I grepped through the scala mxnet test suites -- found nothing for NDArray / Convolution. 4. I ran java

Re: Join slack channel

2017-11-07 Thread TongKe Xue
Hi, I would also like to join the slack channel. I'm trying to use mxnet in production. (Java API seems most production ready among all DL libraries.) --TongKe On Tue, Nov 7, 2017 at 1:11 AM, leonardo espinosa wrote: > Hi there, > > I'm using MXNet for teaching and research, I'd love to join

Re: mxnet ndarray inference in js

2017-11-06 Thread TongKe Xue
estion 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/ > However: > a. that

what is NDArrayFuncReturn ?

2017-11-04 Thread TongKe Xue
Hi, 1. I'm running into issues with NDArrayFuncReturn vs NDArray. In particular: 1a. Transpose is defined on NDArray, but does not appear to be defined on NDArrayFuncReturn: https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/ml/dmlc/mxnet/NDArray.scala#L665 2

implementing numpy.cumsum in mxnet scala ?

2017-11-04 Thread TongKe Xue
Hi, ** 1. Here is the documentation of numpy.cumsum : https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.cumsum.html ** 2. The key example is as follows: >>> np.cumsum(a,axis=0) # sum over rows for each of the 3 columns array([[1, 2, 3], [5, 7, 9]]) >>> np.cumsum(a,ax

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 1

mxnet ndarray inference in js

2017-11-02 Thread TongKe Xue
Hi, I'm looking for a js library compatible with mxnet/ndarray. 1. I am aware of https://github.com/dmlc/mxnet.js/ However: a. that appears to be all of mxnet, not ndarray b. that appears to only support Python models, whereas I'm using Java/Scala 2. I am aware of https://github.com/scijs/ndar

mxnet java prebuilt

2017-10-29 Thread TongKe Xue
Hi, Looking at https://mvnrepository.com/artifact/ml.dmlc.mxnet?sort=newest it appears there are no new maven packages since Jun 3 2017. For using the mxnet scala api, is the standard solution to: 1. always build from github / source via https://mxnet.incubator.apache.org/get_started/build_f

Does mxnet NDArray have autodiff ?

2017-10-20 Thread TongKe Xue
Hi! [I'm referring to the Scala API] 1. mxnet symbol has auto diff: https://mxnet.incubator.apache.org/tutorials/r/symbol.html 2. from Googling around, I can't find NDArray auto diff anywhere 3. however, NDArray tracks dependencies -- which, in theory, should be enough for doing autodif

Re: mxnet Scala Convolution

2017-10-19 Thread TongKe Xue
eflection. Or, when > compiling the scala package, it prints all operators out. > > 2017-10-19 8:15 GMT+00:00 YiZhi Liu : >> The javadoc cannot be added in this way. I'm afraid we have to write >> another 'javadoc generator' for these operators. >>

Re: mxnet Scala Convolution

2017-10-19 Thread TongKe Xue
ter method? Thanks, --TongKe On Wed, Oct 18, 2017 at 8:59 PM, YiZhi Liu wrote: > Hi TongKe, > > The symbols you are looking for are auto-generated by scala macros. > Pls refer to scala-package/macros > > 2017-10-19 0:40 GMT+00:00 TongKe Xue : >> Hi Rahul, >> >>

Re: mxnet Scala Convolution

2017-10-18 Thread TongKe Xue
x.sym.quadratic for short." > > I'd think the Scala package works similarly. > > Regards, > Rahul > > > > > On Wed, Oct 18, 2017 at 5:06 PM, TongKe Xue wrote: > >> My earlier question was a bit messy. >> >> To rephrase my question: >> >

Re: mxnet Scala Convolution

2017-10-18 Thread TongKe Xue
contain the string "Convolution" https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/ml/dmlc/mxnet/Symbol.scala#L982 Question: where/how is Symbol.Convolution defined? On Wed, Oct 18, 2017 at 4:10 PM, TongKe Xue wrote: > Hi, > >

mxnet Scala Convolution

2017-10-18 Thread TongKe Xue
Hi, I am reading: https://mxnet.incubator.apache.org/api/scala/symbol.html I see Symbol.Variable, Symbol.Convolution When I look at Symbol.scala, I see Symbol.Variable at: https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/ml/dmlc/mxnet/Symbol.scala#L982 How

Re: disposing all ndarray in a given context

2017-10-17 Thread TongKe Xue
spose) Is either of these things possible? Thanks! On Mon, Oct 16, 2017 at 4:15 PM, TongKe Xue wrote: > Quoting: > https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/ml/dmlc/mxnet/NDArray.scala#L545-L546 > > * WARNING: it is your responsibil

disposing all ndarray in a given context

2017-10-16 Thread TongKe Xue
Quoting: https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/ml/dmlc/mxnet/NDArray.scala#L545-L546 * WARNING: it is your responsibility to clear this object through dispose(). * NEVER rely on the GC strategy Is there a way to say "dispose all ndarrays of this