Browse Source

fix neg output of Div.

pull/15423/head
liuxiao93 4 years ago
parent
commit
9d44ff8ddf
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