提交 e4a67cd7 authored 作者: ChienliMa's avatar ChienliMa

start writing the test.

上级 bcc3bd89
...@@ -241,6 +241,10 @@ class T_function(unittest.TestCase): ...@@ -241,6 +241,10 @@ class T_function(unittest.TestCase):
f(1, 2) # put them out of sync f(1, 2) # put them out of sync
self.assertFalse(f(1, 2) == g(1, 2)) # they should not be equal anymore. self.assertFalse(f(1, 2) == g(1, 2)) # they should not be equal anymore.
def test_copy_share_memory(self):
# Todo: finish the test.
pass
def test_shared_state0(self): def test_shared_state0(self):
a = T.scalar() # the a is for 'anonymous' (un-named). a = T.scalar() # the a is for 'anonymous' (un-named).
x, s = T.scalars('xs') x, s = T.scalars('xs')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论