Skip to content

Commit

Permalink
fix annotation of tir generic (apache#9119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sen Yang authored and ylc committed Sep 29, 2021
1 parent a5bfae7 commit 5df2b09
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 5df2b09

Please sign in to comment.