You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/04/16 01:43:59 UTC

[GitHub] [incubator-tvm] windclarion opened a new pull request #5344: [RUNTIME][CRT] scalar's ndim is 0

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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen merged pull request #5344: [RUNTIME][CRT] scalar's ndim is 0

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #5344: [RUNTIME][CRT] scalar's ndim is 0
URL: https://github.com/apache/incubator-tvm/pull/5344
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen commented on issue #5344: [RUNTIME][CRT] scalar's ndim is 0

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #5344: [RUNTIME][CRT] scalar's ndim is 0
URL: https://github.com/apache/incubator-tvm/pull/5344#issuecomment-614866193
 
 
   Thanks @windclarion 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services