Skip to content

Commit

Permalink
fix annotation of tir generic (#9119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sen Yang authored Sep 27, 2021
1 parent 44d5d7a commit c82b2bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/tir/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def floordiv(lhs, rhs, span=None):
Returns
-------
op : tvm.Expr
The result Expr of divide operaton.
The result Expr of floordiv operaton.
"""
return _ffi_api._OpFloorDiv(lhs, rhs, span) # type: ignore

Expand All @@ -139,6 +139,6 @@ def cast(src, dtype, span=None):
Returns
-------
op : tvm.Expr
The result Expr of divide operaton.
The result Expr of cast operaton.
"""
return _ffi_api._cast(dtype, src, span) # type: ignore

0 comments on commit c82b2bd

Please sign in to comment.