提交 927f5d56 编写于 作者: Q qiaolongfei

complete const test

上级 c057d535
...@@ -5,6 +5,9 @@ import paddle.v2.fluid.framework as framework ...@@ -5,6 +5,9 @@ import paddle.v2.fluid.framework as framework
class ConditionalBlock(unittest.TestCase): class ConditionalBlock(unittest.TestCase):
def test_const_value(self): def test_const_value(self):
self.assertEqual(framework.GRAD_VAR_SUFFIX, "@GRAD") self.assertEqual(framework.GRAD_VAR_SUFFIX, "@GRAD")
self.assertEqual(framework.TEMP_VAR_NAME, "@TEMP@")
self.assertEqual(framework.GRAD_VAR_SUFFIX, "@GRAD")
self.assertEqual(framework.ZERO_VAR_SUFFIX, "@ZERO")
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册