You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tvm.apache.org by Priya arora via TVM Discuss <no...@discuss.tvm.ai> on 2019/07/25 19:29:44 UTC

[TVM Discuss] [Development] Unable to create Node object to pass to AttrStmt object


Hi, I have been trying to make a tvm.stmt.AttrStmt object using documentation. I am unable to create a Node object to pass it to this AttrStmt object. I have tried all the possibilities:

node_obj = tvm.node/tvm.node.NodeBase <<<----- unable to create this
st_obj=tvm.stmt.Stmt
x = tvm.var("n") 
exp_obj=x/2
st = tvm.stmt.AttrStmt(node_obj, "Intel", exp_obj, st_obj)

Can anyone please help me out. I am unable to proceed further because of this.





---
[Visit Topic](https://discuss.tvm.ai/t/unable-to-create-node-object-to-pass-to-attrstmt-object/3487/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/f1afe07436bfc789bffdc5412d2c70bbe77a27bf9d05085573aa0e12de55002d).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=t9xJWkIWCwa8mQG4TZk1Mg2