提交 244c343b 编写于 作者: F fengjiayi

Fix a test error

上级 3a8017d1
import unittest
import paddle.v2.framework.create_op_creation_methods as creation
import paddle.v2.framework.core as core
from op_test_util import OpTestMeta
import numpy
class TestFillZerosLikeOp(unittest.TestCase):
def test_fill(self):
scope = core.Scope(None)
scope = core.Scope()
a = scope.create_var("input")
a_tensor = a.get_tensor()
a_tensor.set_dims([546, 291])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册