enjustli commented on issue #8271:
URL: https://github.com/apache/tvm/issues/8271#issuecomment-868448907


   I'm sorry, when I create Map<PrimExpr, PrimExpr>, I use such code:
   ```C++
   Map<PrimExpr, PrimExpr> dict{ PrimExpr(a),PrimExpr(b) };
   ```
   In the above example the Map constructor func is 
   ```C++
     /*!
      * \brief constructor from iterator
      * \param begin begin of iterator
      * \param end end of iterator
      * \tparam IterType The type of iterator
      */
     template <typename IterType>
     Map(IterType begin, IterType end) {
       data_ = MapNode::CreateFromRange(begin, end);
     }
   ``` 
   
   I should use 
   ```C++
   Map<PrimExpr, PrimExpr> dict{ {PrimExpr(a),PrimExpr(b)} };
   ```
   😭


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


Reply via email to