VoVAllen edited a comment on issue #16099: [Bug] NDArray asscalar error after 
set npx.set_np()
URL: 
https://github.com/apache/incubator-mxnet/issues/16099#issuecomment-528216667
 
 
   It's from `assert a[0] == 1`, which calls `bool(a[0]==1)`, and would trigger 
the error.
   I'm from dgl team and we currently using ndarray since only zero-copy 
interface from dlpack to ndarray is provided. And we need empty shape support 
somehow. 

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to