Skip to content

Commit 9c97bba

Browse files
authored
[NFC] Fix explict typo (#17811)
fix typo
1 parent 43adad7 commit 9c97bba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/runtime/relax_vm/rnn_state.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class RNNStateImpObj : public RNNStateObj {
251251
}
252252
// TODO(Siyuan): We need to update history_slot_id_device_ (on device) as well.
253253
// There are two ways to do this:
254-
// 1. Update history_slot_id_device_ on device directly through a explict kernel
254+
// 1. Update history_slot_id_device_ on device directly through a explicit kernel
255255
// 2. Update history_slot_id on host and then sync to device.
256256
// We choose the second way for now for convenience. But the first way is more efficient.
257257
dirty_aux_data_device_ = true;

src/tir/transforms/renew_defs.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class RenewDefMutator : public StmtExprMutator {
8282
private:
8383
Stmt operator()(Stmt stmt) {
8484
// override StmtMutator::operator() to disable copy_on_write
85-
// Since this pass tries to explict create a new function rather than update the existing one
85+
// Since this pass tries to explicit create a new function rather than update the existing one
8686
allow_copy_on_write_ = false;
8787
return VisitStmt(stmt);
8888
}

tests/python/tir-transform/test_tir_transform_simplify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ class TestRewriteAsAndOfOrsWithSimplificationBetweenGroups(BaseBeforeAfter):
693693
"""Apply rewrite rules between OR groups that differ by a single element
694694
695695
The expression `(k==20 and k!=30)` could be rewritten into `(k==20)`.
696-
However, by default these two terms must appear as part of an explict part
696+
However, by default these two terms must appear as part of an explicit part
697697
of the simplified expression. The AndOfOr simplification checks for
698698
rewrite patterns of the form `(A or B) and (A or C)`, where `(B and C)` can
699699
simplify to a single expression `D`. These can be rewritten to `(A or D)`.

0 commit comments

Comments
 (0)