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/11/15 17:25:49 UTC

[GitHub] [incubator-tvm] d-smirnov commented on pull request #6655: [BYOC] Added default_tuples parameter to AnnotateTarget pass

d-smirnov commented on pull request #6655:
URL: https://github.com/apache/incubator-tvm/pull/6655#issuecomment-727605634


   @tqchen Hi, I am trying to compile Mobilnet (after expanded this patch to all non-call ops, not committed yet) and encountered a check on src/relay/backend/compile_engine.cc:170
   `ICHECK(op->is_scalar());`
   
   The ConstantNode it fails is of TensorType: TensorType([1, 1, 1024, 1024], float32), and contains runtime.NDArray(0x74f0370) of corresponding shape (1x1x1024x1024). Could you explain the purpose of the check and should the check be extended to also accomodate ConstantNodes of TensorType. I am also interested to know the techniques to trace when and why this ConstantNode appeared. 
   
   Thank you. cc: @comaniac 
   


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