Skip to content

Commit

Permalink
Fix cpplint
Browse files Browse the repository at this point in the history
  • Loading branch information
elvin-n committed Aug 19, 2021
1 parent 58ad10b commit 6103335
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/runtime/graph_executor/graph_executor_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ PackedFunc GraphExecutorFactory::GetFunction(
*rv = this->ExecutorCreate(devices);
});
} else if (name == "get_json") {
return PackedFunc([sptr_to_self, this](TVMArgs args, TVMRetValue* rv) {
*rv = this->graph_json_;
});
return PackedFunc(
[sptr_to_self, this](TVMArgs args, TVMRetValue* rv) { *rv = this->graph_json_; });
} else if (name == "debug_create") {
return PackedFunc([sptr_to_self, this](TVMArgs args, TVMRetValue* rv) {
ICHECK_GE(args.size(), 2);
Expand Down

0 comments on commit 6103335

Please sign in to comment.