You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/12/02 20:18:50 UTC

[GitHub] [tvm] mbs-octoml commented on a change in pull request #9641: [RELAY] [AST] Add virtual_device as a first class field in Relay

mbs-octoml commented on a change in pull request #9641:
URL: https://github.com/apache/tvm/pull/9641#discussion_r761435215



##########
File path: include/tvm/relay/expr.h
##########
@@ -539,17 +549,18 @@ 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 =

Review comment:
       nit: accidental paste?




-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org