mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

Sparse Tensor support in scala api

Open ericvlognow opened this issue 8 years ago • 4 comments

The sparse tensor is supported in python api. is any plan to add the support in scala api also?

thanks

eric

ericvlognow avatar Feb 01 '18 03:02 ericvlognow

I'd second this request for support of sparse tensors/ndarrays in Scala. Thanks!

wellner avatar Feb 22 '18 19:02 wellner

Sparse API is still in the queue of our TODO list. We will try to get this set of APIs release in the next few months. If you can't wait and would like to 'unlock' this feature to try on your own, please change it here: https://github.com/apache/incubator-mxnet/blob/master/scala-package/macros/src/main/scala/org/apache/mxnet/SymbolMacro.scala#L60#L63 or here if you prefer type-checked api: https://github.com/apache/incubator-mxnet/blob/master/scala-package/macros/src/main/scala/org/apache/mxnet/SymbolMacro.scala#L94#L98 Just allow 'sparse' as an accepted input. There is no guarantee that this API will fully worked as we haven't test that.

lanking520 avatar May 23 '18 07:05 lanking520

interested as well, as this is key to our adoption of MXNet (we're heavy user of sparse computations)

mdespriee avatar Jul 30 '18 10:07 mdespriee

Sparse Support was added in https://github.com/apache/incubator-mxnet/pull/15378

zachgk avatar Sep 20 '19 18:09 zachgk