Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MarisaKirisame committed Jan 23, 2019
1 parent 5c4dae5 commit e643a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/pass/gradient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ Expr Gradient(const Expr& re, const Module& mod) {

TVM_REGISTER_API("relay._ir_pass.gradient")
.set_body([](TVMArgs args, TVMRetValue* ret) {
CHECK(args.size() == 2);
CHECK_EQ(args.size(), 2);
*ret = Gradient(args[0], args[1]);
});

Expand Down

0 comments on commit e643a46

Please sign in to comment.