Browse Source

!15423 fix neg output of Div.

From: @liu_xiao_93
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
pull/15423/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
e24319f089
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ops/_op_impl/tbe/div.py

+ 2
- 2
mindspore/ops/_op_impl/tbe/div.py View File

@@ -19,9 +19,9 @@ from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType
div_op_info = TBERegOp("Div") \
.fusion_type("ELEMWISE") \
.async_flag(False) \
.binfile_name("div.so") \
.binfile_name("truncate_div.so") \
.compute_cost(10) \
.kernel_name("div") \
.kernel_name("truncate_div") \
.partial_flag(True) \
.input(0, "x1", False, "required", "all") \
.input(1, "x2", False, "required", "all") \


Loading…
Cancel
Save