eric-haibin-lin commented on a change in pull request #7911: More sparse
related docs
URL: https://github.com/apache/incubator-mxnet/pull/7911#discussion_r141218375
##########
File path: python/mxnet/ndarray/sparse.py
##########
@@ -88,6 +88,8 @@ def _new_alloc_handle(stype, shape, ctx, delay_alloc, dtype,
aux_types, aux_shap
A new empty ndarray handle
"""
hdl = NDArrayHandle()
+ for aux_t in aux_types:
+ assert(np.dtype(aux_t) == np.dtype("int64")), "only int64 is supported
for aux types"
Review comment:
raising UnimplementedError now
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services