提交 512869e3 authored 作者: --global's avatar --global

Make tensor.floor_div a reference to tensor.int_div

上级 490dd097
......@@ -3072,11 +3072,8 @@ def floor_div(a, b):
# see decorator for function body
# not a c/p error, floor_div and int_div are the same thing
@_scal_elemwise_with_nfunc('floor_divide', 2, 1)
def int_div(a, b):
"""elementwise integer-division"""
# see decorator for function body
# floor_div and int_div are the same thing
int_div = floor_div
def ceil_intdiv(a, b):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论