```C++
Map<String, ObjectRef> TargetNode::Export() const {
Map<String, ObjectRef> result = {
{"kind", this->kind->name}, <------------
{"tag", this->tag},
{"keys", this->keys},
};
if (this->host.defined()) {
result.Set("host", this->GetHost().value_or(Target())->Export());
}
for (const auto& kv : attrs) {
result.Set(kv.first, kv.second);
}
return result;
}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm-rfcs/pull/71#issuecomment-1185696517
You are receiving this because you are subscribed to this thread.
Message ID: <apache/tvm-rfcs/pull/71/[email protected]>