提交 e7b3e139 编写于 作者: F fengjiayi

Rewrite test based on new python test format

上级 28476676
......@@ -8,8 +8,8 @@ class TestFillZerosLikeOp(unittest.TestCase):
def setUp(self):
self.type = "fill_zeros_like"
self.Src = numpy.random.random((219, 232)).astype("float32")
self.Dst = numpy.zeros_like(self.Src)
self.inputs = {'Src': numpy.random.random((219, 232)).astype("float32")}
self.outputs = {'Dst': numpy.zeros_like(self.inputs['Src'])}
if __name__ == '__main__':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册