提交 8a7c309d 编写于 作者: S sweetsky0901

modify for update from trunk

上级 333995a7
...@@ -18,7 +18,7 @@ namespace operators { ...@@ -18,7 +18,7 @@ namespace operators {
class NormOpMaker : public framework::OpProtoAndCheckerMaker { class NormOpMaker : public framework::OpProtoAndCheckerMaker {
public: public:
NormOpMaker(framework::OpProto* proto, framework::OpAttrChecker* op_checker) NormOpMaker(OpProto* proto, OpAttrChecker* op_checker)
: OpProtoAndCheckerMaker(proto, op_checker) { : OpProtoAndCheckerMaker(proto, op_checker) {
AddInput( AddInput(
"X", "X",
......
...@@ -49,7 +49,7 @@ class TestNormOp(OpTest): ...@@ -49,7 +49,7 @@ class TestNormOp(OpTest):
self.check_grad(['X'], 'Out') self.check_grad(['X'], 'Out')
def init_test_case(self): def init_test_case(self):
self.shape = [1, 3, 2, 2] self.shape = [2, 3, 2, 2]
self.epsilon = 1e-6 self.epsilon = 1e-6
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册