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 2022/04/21 17:24:48 UTC

[GitHub] [tvm] junrushao1994 commented on a diff in pull request #11089: change hardcoded names of loggers to `__name__`

junrushao1994 commented on code in PR #11089:
URL: https://github.com/apache/tvm/pull/11089#discussion_r855420759


##########
docs/arch/relay_op_strategy.rst:
##########
@@ -278,5 +278,5 @@ model to learn which implementation is used for each operator.
 
 .. code:: python
 
-    logging.getLogger("te_compiler").setLevel(logging.INFO)
-    logging.getLogger("te_compiler").addHandler(logging.StreamHandler(sys.stdout))
+    logging.getLogger("tvm.relay.backend.te_compiler").setLevel(logging.INFO)

Review Comment:
   i'm not an expert in our doc rendering, but looks like `__name__` doesn't work in this case? if so, this change looks good to me



-- 
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