提交 d59be876 authored 作者: Frederic's avatar Frederic

Updated comments following code review.

上级 f96ecd1d
...@@ -755,8 +755,8 @@ IntDivTester = makeBroadcastTester( ...@@ -755,8 +755,8 @@ IntDivTester = makeBroadcastTester(
op=tensor.int_div, op=tensor.int_div,
expected=lambda x, y: check_floatX((x, y), x // y), expected=lambda x, y: check_floatX((x, y), x // y),
good=_good_broadcast_div_mod_normal_float, good=_good_broadcast_div_mod_normal_float,
# I don't test the grad as the output are ints and # I don't test the grad as the output is always an integer
# this is a not continuous outputs # (this is not a continuous output).
# grad=_grad_broadcast_div_mod_normal, # grad=_grad_broadcast_div_mod_normal,
) )
...@@ -765,8 +765,8 @@ IntDivInplaceTester = makeBroadcastTester( ...@@ -765,8 +765,8 @@ IntDivInplaceTester = makeBroadcastTester(
op=inplace.int_div_inplace, op=inplace.int_div_inplace,
expected=lambda x, y: check_floatX((x, y), x // y), expected=lambda x, y: check_floatX((x, y), x // y),
good=_good_broadcast_div_mod_normal_float_inplace, good=_good_broadcast_div_mod_normal_float_inplace,
# I don't test the grad as the output are ints and # I don't test the grad as the output is always an integer
# this is a not continuous outputs # (this is not a continuous output).
# grad=_grad_broadcast_div_mod_normal, # grad=_grad_broadcast_div_mod_normal,
inplace=True inplace=True
) )
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论