windclarion opened a new pull request #5344: [RUNTIME][CRT] scalar's ndim is 0
URL: https://github.com/apache/incubator-tvm/pull/5344
 
 
   If a DLTensor is scalar, its ndim is 0 indeed. It's not a error. and 
google's mobilenet v1 quantize model 's params contains scalar, when I build it 
with tvm/apps/bundle_deploy, CRT report ndim == 0.
   
   The model's address is 
   
https://storage.googleapis.com/download.tensorflow.org/models/mobilenet_v1_2018_08_02/mobilenet_v1_1.0_224_quant.tgz
   
   
   I init shape array because it is only inited when ndim != 0, if ndim == 0, 
it contains rubbish data.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to