提交 5b282a81 编写于 作者: Z zhupengyang 提交者: hong19860320

skip check_grad of TestHSigmoidOpSparse (#21888)

上级 6b9fbcf3
......@@ -19,7 +19,7 @@ import numpy as np
import paddle.fluid.core as core
import paddle.fluid as fluid
import math
from op_test import OpTest
from op_test import OpTest, skip_check_grad_ci
np.random.seed(100)
......@@ -165,6 +165,9 @@ class TestHSigmoidOp(OpTest):
self.check_grad(['Bias', 'X', 'W'], ['Out'], no_grad_set=set('Label'))
@skip_check_grad_ci(
reason="For 'TestHSigmoidOpSparse', check_grad is 'TestHSigmoidOpWithSparseGrad'."
)
class TestHSigmoidOpSparse(OpTest):
def setUp(self):
self.op_type = "hierarchical_sigmoid"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册