提交 3034edf1 编写于 作者: Q qijun

fix typo

上级 39a61bbf
...@@ -170,12 +170,6 @@ class TestBook(unittest.TestCase): ...@@ -170,12 +170,6 @@ class TestBook(unittest.TestCase):
self.assertIsNotNone(layers.sequence_expand(x=x, y=y)) self.assertIsNotNone(layers.sequence_expand(x=x, y=y))
print(str(program)) print(str(program))
def test_get_places(self):
program = Program()
with program_guard(program):
x = layers.get_places(trainer_count=4)
print(str(program))
def test_lstm_unit(self): def test_lstm_unit(self):
program = Program() program = Program()
with program_guard(program): with program_guard(program):
...@@ -193,6 +187,12 @@ class TestBook(unittest.TestCase): ...@@ -193,6 +187,12 @@ class TestBook(unittest.TestCase):
x_t=x_t, hidden_t_prev=prev_hidden, cell_t_prev=prev_cell)) x_t=x_t, hidden_t_prev=prev_hidden, cell_t_prev=prev_cell))
print(str(program)) print(str(program))
def test_get_places(self):
program = Program()
with program_guard(program):
x = layers.get_places(trainer_count=4)
print(str(program))
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册