gemini-code-assist[bot] commented on code in PR #18739:
URL: https://github.com/apache/tvm/pull/18739#discussion_r2783295775


##########
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.

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   Since you're fixing a typo in this docstring, you could also fix another one 
on line 266: `concistent` should be `consistent`.
   
   ```suggestion
         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 consistent with structural_equal.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to