diff --git a/python/tvm/relay/backend/contrib/ethosu/codegen.py b/python/tvm/relay/backend/contrib/ethosu/codegen.py index b2fc5f0af289..04b40a9e64ea 100644 --- a/python/tvm/relay/backend/contrib/ethosu/codegen.py +++ b/python/tvm/relay/backend/contrib/ethosu/codegen.py @@ -359,7 +359,7 @@ def __call__(self, *args, **kwargs): 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 868fbe856352..715a012e6548 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