sxjscience commented on issue #16743: URL: https://github.com/apache/incubator-mxnet/issues/16743#issuecomment-625910342
@BenjaminCHEN2016 The problem is that it's a numpy scalar and should be treated similarly as python scalars. I just checked that Jax supports the following: ```python import jax.numpy as np import numpy as onp a = onp.array(1) b = np.array(1) a ``` Output: ``` Out[17]: DeviceArray(2, dtype=int32) ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org