This is an automated email from the ASF dual-hosted git repository.
tlopex 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 90f2732763 fix: correct typos 'recieve' and 'occurence' (#18739)
90f2732763 is described below
commit 90f2732763eaef45a91c45f81e8632eafdaa5c31
Author: thecaptain789 <[email protected]>
AuthorDate: Tue Feb 10 02:38:33 2026 +0000
fix: correct typos 'recieve' and 'occurence' (#18739)
Fixed typos in Python code: 'recieve' to 'receive' and 'occurence' to
'occurrence'.
Co-authored-by: thecaptain789 <[email protected]>
---
python/tvm/ir/base.py | 2 +-
python/tvm/tir/op.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/tvm/ir/base.py b/python/tvm/ir/base.py
index 651ab39203..483c202325 100644
--- a/python/tvm/ir/base.py
+++ b/python/tvm/ir/base.py
@@ -260,7 +260,7 @@ def structural_hash(node, map_free_vars=False):
- Normal node: the hash value is defined by its content and type only.
- Graph node: each graph node will be assigned a unique index ordered by
the
- first occurence during the visit. The hash value of a graph node is
+ first occurrence during the visit. The hash value of a graph node is
combined from the hash values of its contents and the index.
structural_hash is made to be concistent with structural_equal.
diff --git a/python/tvm/tir/op.py b/python/tvm/tir/op.py
index 7f3badcfeb..3845700a81 100644
--- a/python/tvm/tir/op.py
+++ b/python/tvm/tir/op.py
@@ -50,7 +50,7 @@ def call_packed_lowered(*args, span=None):
The argument to packed function can be Expr or Buffer.
The argument is the corresponding POD type when Expr is presented.
When the argument is Buffer, the corresponding PackedFunc
- will recieve an TVMArrayHandle whose content is valid during the callback
period.
+ will receive an TVMArrayHandle whose content is valid during the callback
period.
If the PackedFunc is a python callback, then the corresponding argument is
Tensor.
Parameters