This is an automated email from the ASF dual-hosted git repository.
xiyou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 578ef035b2 Fix comments. (#12220)
578ef035b2 is described below
commit 578ef035b201d7fa9756d51ac2e89e4a90663990
Author: Xiyou Zhou <[email protected]>
AuthorDate: Fri Jul 29 00:52:55 2022 -0700
Fix comments. (#12220)
---
python/tvm/meta_schedule/tune.py | 2 +-
src/meta_schedule/space_generator/post_order_apply.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/tvm/meta_schedule/tune.py b/python/tvm/meta_schedule/tune.py
index bc2e7096c6..fbbe24b32e 100644
--- a/python/tvm/meta_schedule/tune.py
+++ b/python/tvm/meta_schedule/tune.py
@@ -530,7 +530,7 @@ def tune_relay(
mutator_probs: Optional[FnMutatorProb] = None,
num_threads: Optional[int] = None,
) -> Union[Module, vm.Executable]:
- """Tune a TIR IRModule with a given target.
+ """Tune a Relay IRModule with a given target.
Parameters
----------
diff --git a/src/meta_schedule/space_generator/post_order_apply.cc
b/src/meta_schedule/space_generator/post_order_apply.cc
index e43939738c..50b49943f5 100644
--- a/src/meta_schedule/space_generator/post_order_apply.cc
+++ b/src/meta_schedule/space_generator/post_order_apply.cc
@@ -21,7 +21,7 @@
namespace tvm {
namespace meta_schedule {
-/*! \brief Collecting all the non-root blocks */
+/*! \brief Collecting all the blocks */
class BlockCollector : public tir::StmtVisitor {
public:
static Array<tir::BlockRV> Collect(const tir::Schedule& sch) { //