remove unnecessary cases with no_grad_set for prelu (#22707)

test=develop
revert-22710-feature/integrated_ps_api
zhupengyang 6 years ago committed by GitHub
parent a5b0758ff7
commit 9b8caaa220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,15 +55,9 @@ class PReluTest(OpTest):
def test_check_output(self):
self.check_output()
def test_check_grad_1_ignore_x(self):
self.check_grad(['Alpha'], 'Out', no_grad_set=set('X'))
def test_check_grad_2(self):
def test_check_grad(self):
self.check_grad(['X', 'Alpha'], 'Out')
def test_check_grad_3_ignore_alpha(self):
self.check_grad(['X'], 'Out', no_grad_set=set('Alpha'))
# TODO(minqiyang): Resume these test cases after fixing Python3 CI job issues
if six.PY2:

@ -60,7 +60,6 @@ NEED_TO_FIX_OP_LIST = [
'matmul',
'mul',
'multiplex',
'prelu',
'rank_loss',
'row_conv',
'sequence_conv',

Loading…
Cancel
Save