File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ struct CompilerAttrs : public tvm::AttrsNode<CompilerAttrs> {
6666
6767 TVM_DECLARE_ATTRS (CompilerAttrs, " relay.attrs.CompilerAttrs" ) {
6868 TVM_ATTR_FIELD (compiler)
69- .describe (" A 3rd compiler used for code generation." );
69+ .describe (" A 3rd party compiler used for code generation." );
7070 }
7171};
7272
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ Beginning of a region that is handled by a given compiler.
190190
191191TVM_REGISTER_API (" relay.op.annotation._make.compiler_begin" )
192192.set_body_typed<Expr(Expr, std::string)>([](Expr expr, std::string compiler) {
193- auto attrs = make_node <CompilerAttrs>();
193+ auto attrs = make_object <CompilerAttrs>();
194194 attrs->compiler = compiler;
195195 static const Op& op = Op::Get (" annotation.compiler_begin" );
196196 return CallNode::make (op, {expr}, Attrs (attrs), {});
@@ -215,7 +215,7 @@ End of a region that is handled by a given compiler.
215215
216216TVM_REGISTER_API (" relay.op.annotation._make.compiler_end" )
217217.set_body_typed<Expr(Expr, std::string)>([](Expr expr, std::string compiler) {
218- auto attrs = make_node <CompilerAttrs>();
218+ auto attrs = make_object <CompilerAttrs>();
219219 attrs->compiler = compiler;
220220 static const Op& op = Op::Get (" annotation.compiler_end" );
221221 return CallNode::make (op, {expr}, Attrs (attrs), {});
You can’t perform that action at this time.
0 commit comments