未验证 提交 c2f39431 编写于 作者: A Aurelius84 提交者: GitHub

add skip_check_grad_ci of var_conv_2d (#22451)

* add skip_check_grad_ci of var_conv_2d test=develop

* modify check_shape_white_list test=develop
上级 ceda0b9b
...@@ -16,7 +16,7 @@ from __future__ import print_function ...@@ -16,7 +16,7 @@ from __future__ import print_function
import unittest import unittest
import numpy as np import numpy as np
from op_test import OpTest from op_test import OpTest, skip_check_grad_ci
class TestVarConv2dOp(OpTest): class TestVarConv2dOp(OpTest):
...@@ -244,6 +244,9 @@ class TestVarConv2dOpCase5(TestVarConv2dOp): ...@@ -244,6 +244,9 @@ class TestVarConv2dOpCase5(TestVarConv2dOp):
col) col)
@skip_check_grad_ci(
reason="[skip shape check] Use shape of input_channel, row and col all is 1 to test special LoDTensor."
)
class TestVarConv2dOpCase6(TestVarConv2dOp): class TestVarConv2dOpCase6(TestVarConv2dOp):
def set_data(self): def set_data(self):
input_channel = 1 input_channel = 1
......
...@@ -35,5 +35,4 @@ NEED_TO_FIX_OP_LIST = [ ...@@ -35,5 +35,4 @@ NEED_TO_FIX_OP_LIST = [
'spp', 'spp',
'squared_l2_distance', 'squared_l2_distance',
'tree_conv', 'tree_conv',
'var_conv_2d',
] ]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册