Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MarisaKirisame committed Jun 8, 2019
1 parent 1fb43be commit f2f6eb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/relay/pass/partial_eval.cc
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,11 @@ class PartialEvaluator : public ExprFunctor<PStatic(const Expr& e, LetList* ll)>
if (time_map_.count(fid) == 0) {
return recurse();
} else {
// We check to see that at least one argument decrease
// with respect to all previous invocation.
/* We check to see that at least one argument decrease
* with respect to all previous invocation.
* The depth of the recursion is bounded by
* the sum of the time of all argument at the first call.
*/
bool can_recurse = false;
std::vector<Time>& min_time = time_map_.at(fid);
CHECK_EQ(args_time.size(), min_time.size());
Expand Down

0 comments on commit f2f6eb0

Please sign in to comment.