Fork自 PaddlePaddle / Paddle
import unittest import paddle.v2.fluid.framework as framework class ConditionalBlock(unittest.TestCase): def test_const_value(self): self.assertEqual(framework.GRAD_VAR_SUFFIX, "@GRAD") if __name__ == '__main__': unittest.main()