提交 c6d7ad36 编写于 作者: F fengjiayi

fix typo

上级 1e6e5ac6
...@@ -6,7 +6,7 @@ from op_test import OpTest ...@@ -6,7 +6,7 @@ from op_test import OpTest
class TestElementwiseOp(OpTest): class TestElementwiseOp(OpTest):
def setUp(self): def setUp(self):
self.op_type = "elementwise_min" self.op_type = "elementwise_min"
# If x and y have the same value, the max() is not differentiable. # If x and y have the same value, the min() is not differentiable.
# So we generate test data by the following method # So we generate test data by the following method
# to avoid them being too close to each other. # to avoid them being too close to each other.
x = np.random.uniform(0.1, 1, [13, 17]).astype("float32") x = np.random.uniform(0.1, 1, [13, 17]).astype("float32")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册