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 2022/01/13 00:17:04 UTC

[GitHub] [tvm] vinx13 opened a new pull request #9919: [Object] Throw AttributeError if the object doesn't have a reflection table.

vinx13 opened a new pull request #9919:
URL: https://github.com/apache/tvm/pull/9919


   There are a few objects only registered via `TVM_REGISTER_OBJECT_TYPE` instead of `TVM_REGISTER_NODE_TYPE`. They don't have reflections tables available. From python ffi, any registered objects will always go into `NodeGetAttr`, even if some of them don't reflection table. After this PR, it will raises `AttributeError` instead here https://github.com/apache/tvm/blob/main/src/node/reflection.cc#L108-L111
   
   @junrushao1994 @tqchen @Hzfengsy 


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] masahi merged pull request #9919: [Object] Throw AttributeError if the object doesn't have a reflection table.

Posted by GitBox <gi...@apache.org>.
masahi merged pull request #9919:
URL: https://github.com/apache/tvm/pull/9919


   


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org