mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TongKe Xue <tk...@tkxue.org>
Subject what is NDArrayFuncReturn ?
Date Sun, 05 Nov 2017 03:55:21 GMT
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. After calling broadcast_minus , I get a NDArrayFuncReturn

3. There are functions 'head, get, apply' for doing NDArrayFuncReturn
-> NDArray:
https://github.com/apache/incubator-mxnet/blob/master/scala-package/core/src/main/scala/ml/dmlc/mxnet/NDArray.scala#L1099-L1104

So:
  * What is NDArrayFuncReturn ?
  * If I'm getting NDArrayFuncReturn (a private class) returned, am I
calling some internal API I should not be using ?
  * What is correct way o do NDArrayFuncReturn -> NDArray ?

Thanks,
--TongKe

Mime
View raw message