add_depthwiseConv_op_gpu
fengjiayi 7 years ago
parent 1e6e5ac64c
commit c6d7ad3689

@ -6,7 +6,7 @@ from op_test import OpTest
class TestElementwiseOp(OpTest):
def setUp(self):
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
# to avoid them being too close to each other.
x = np.random.uniform(0.1, 1, [13, 17]).astype("float32")

Loading…
Cancel
Save