This is an automated email from the ASF dual-hosted git repository.

lukhut 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 f45ed308cb Fix "to" duplicate word in python and C header file (#15580)
f45ed308cb is described below

commit f45ed308cbc23337dc94216222febe5264e8e943
Author: Max Base <maxbasec...@gmail.com>
AuthorDate: Thu Aug 17 09:27:06 2023 +0100

    Fix "to" duplicate word in python and C header file (#15580)
    
    * Change 'to to' to 'to'
    
    * Change 'to to' to 'to' in python script
---
 python/tvm/relay/backend/contrib/ethosu/codegen.py | 2 +-
 src/tir/schedule/analysis.h                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/tvm/relay/backend/contrib/ethosu/codegen.py 
b/python/tvm/relay/backend/contrib/ethosu/codegen.py
index b2fc5f0af2..04b40a9e64 100644
--- a/python/tvm/relay/backend/contrib/ethosu/codegen.py
+++ b/python/tvm/relay/backend/contrib/ethosu/codegen.py
@@ -359,7 +359,7 @@ class LayoutOptimizer:
 
 
 class PadsWithMultipleConsumersReplicator(ExprMutator):
-    """A pass to to handle the situation when nn.pad operator has
+    """A pass to handle the situation when nn.pad operator has
     more than one qnn.conv2d consumer.
 
              pad
diff --git a/src/tir/schedule/analysis.h b/src/tir/schedule/analysis.h
index 868fbe8563..715a012e65 100644
--- a/src/tir/schedule/analysis.h
+++ b/src/tir/schedule/analysis.h
@@ -73,7 +73,7 @@ const PrimFuncNode* GetRootPrimFunc(const IRModule& mod, 
const StmtNode* root_bl
 StmtSRef GetSRefTreeRoot(const StmtSRef& sref);
 
 /*!
- * \brief Given an arbitrary sref, bind the shape var info of the PrimFunc it 
belongs to to the
+ * \brief Given an arbitrary sref, bind the shape var info of the PrimFunc it 
belongs to the
  * given analyzer
  * \param state The schedule state
  * \param sref The given sref

Reply via email to