electriclilies commented on a change in pull request #9641:
URL: https://github.com/apache/tvm/pull/9641#discussion_r765270566



##########
File path: include/tvm/relay/expr.h
##########
@@ -539,17 +550,19 @@ class If : public Expr {
  * ret_if->true_branch = ret_if->false_branch.
  * \param opt_false_branch The (optional) false_branch
  * for the copied if_expr. If none, ret_if->false_branch = 
if_expr->false_branch.
- * \param opt_span
- * The (optional) span for the copied if_expr. If none, ret_if->span = 
if_expr->span.
- * \return If all
- * properties are null or the same as the property in the input if_expr (i.e., 
opt_cond is null or
- * opt_cond.value() == if_expr->cond, etc.), then we return if_expr. 
Otherwise, we return a copy of
- * if_expr with the different fields overwritten. (i.e., if opt_cond.value() 
!= if_expr->cond, then
- * ret_if->cond = opt_cond.value()).
+ * \param opt_virtual_device The (optional) virtual_device for the copied 
if_expr. If none,
+ * ret_if->virtual_device = if_expr->virtual_device.
+ * \param opt_span The (optional) span for the copied if_expr. If none,
+ * ret_if->span = if_expr->span.
+ * \return If all properties are null or the same as the property in
+ * the input if_expr (i.e., opt_cond is null or opt_cond.value() == 
if_expr->cond, etc.), then we
+ * return if_expr. Otherwise, we return a copy of if_expr with the different 
fields overwritten.
+ * (i.e., if opt_cond.value() != if_expr->cond, then ret_if->cond = 
opt_cond.value()).

Review comment:
       Git didn't mark this as outdated, but I think I fixed it. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to