提交 b8a20432 编写于 作者: H Helin Wang

Remove unused g_main_program in tests

上级 b698d19b
...@@ -3,7 +3,7 @@ import paddle.v2.framework.layers as layers ...@@ -3,7 +3,7 @@ import paddle.v2.framework.layers as layers
import paddle.v2.framework.core as core import paddle.v2.framework.core as core
import paddle.v2.framework.optimizer as optimizer import paddle.v2.framework.optimizer as optimizer
from paddle.v2.framework.framework import Program, g_main_program from paddle.v2.framework.framework import Program
from paddle.v2.framework.io import save_persistables, load_persistables from paddle.v2.framework.io import save_persistables, load_persistables
from paddle.v2.framework.executor import Executor from paddle.v2.framework.executor import Executor
......
...@@ -3,7 +3,7 @@ import paddle.v2.framework.layers as layers ...@@ -3,7 +3,7 @@ import paddle.v2.framework.layers as layers
import paddle.v2.framework.core as core import paddle.v2.framework.core as core
import paddle.v2.framework.optimizer as optimizer import paddle.v2.framework.optimizer as optimizer
from paddle.v2.framework.framework import Program, g_main_program from paddle.v2.framework.framework import Program
from paddle.v2.framework.io import save_inference_model, load_inference_model from paddle.v2.framework.io import save_inference_model, load_inference_model
import paddle.v2.framework.executor as executor import paddle.v2.framework.executor as executor
import unittest import unittest
......
import paddle.v2.framework.layers as layers import paddle.v2.framework.layers as layers
import paddle.v2.framework.nets as nets import paddle.v2.framework.nets as nets
from paddle.v2.framework.framework import Program, g_main_program from paddle.v2.framework.framework import Program
import paddle.v2.framework.core as core import paddle.v2.framework.core as core
import unittest import unittest
......
...@@ -4,7 +4,7 @@ import paddle.v2.framework.nets as nets ...@@ -4,7 +4,7 @@ import paddle.v2.framework.nets as nets
import paddle.v2.framework.core as core import paddle.v2.framework.core as core
import paddle.v2.framework.optimizer as optimizer import paddle.v2.framework.optimizer as optimizer
from paddle.v2.framework.framework import Program, g_main_program from paddle.v2.framework.framework import Program
from paddle.v2.framework.executor import Executor from paddle.v2.framework.executor import Executor
import numpy as np import numpy as np
......
...@@ -4,7 +4,7 @@ import paddle.v2.framework.nets as nets ...@@ -4,7 +4,7 @@ import paddle.v2.framework.nets as nets
import paddle.v2.framework.core as core import paddle.v2.framework.core as core
import paddle.v2.framework.optimizer as optimizer import paddle.v2.framework.optimizer as optimizer
from paddle.v2.framework.framework import Program, g_main_program from paddle.v2.framework.framework import Program
from paddle.v2.framework.executor import Executor from paddle.v2.framework.executor import Executor
import numpy as np import numpy as np
......
...@@ -3,7 +3,7 @@ import paddle.v2.framework.layers as layers ...@@ -3,7 +3,7 @@ import paddle.v2.framework.layers as layers
import paddle.v2.framework.core as core import paddle.v2.framework.core as core
import paddle.v2.framework.optimizer as optimizer import paddle.v2.framework.optimizer as optimizer
from paddle.v2.framework.framework import Program, g_main_program from paddle.v2.framework.framework import Program
from paddle.v2.framework.executor import Executor from paddle.v2.framework.executor import Executor
import numpy as np import numpy as np
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册