提交 4d8ece8a 编写于 作者: D dongzhihong

"update"

上级 0253f2c4
...@@ -9,7 +9,7 @@ class TestRandomOp(unittest.TestCase): ...@@ -9,7 +9,7 @@ class TestRandomOp(unittest.TestCase):
def test_random(self): def test_random(self):
scope = core.Scope(None) scope = core.Scope(None)
# Out = scope.create_var("Out") # Out = scope.create_var("Out")
op = creation.op_creations.random( op = creation.op_creations.gaussian_random(
shape=[1000, 1000], mean=5.0, std=1.0, seed=1701, Out="Out") shape=[1000, 1000], mean=5.0, std=1.0, seed=1701, Out="Out")
for out in op.outputs(): for out in op.outputs():
if scope.get_var(out) is None: if scope.get_var(out) is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册