提交 20858f98 编写于 作者: K kolinwei 提交者: dzhwinter

update benchmark/fluid fix some import error (#10133)

* Update stacked_dynamic_lstm.py

* Update machine_translation.py

* Update mnist.py

* Update resnet.py

* Update vgg.py
上级 9c7fa6ff
...@@ -21,7 +21,7 @@ import argparse ...@@ -21,7 +21,7 @@ import argparse
import time import time
import distutils.util import distutils.util
import paddle.v2 as paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddle.fluid.core as core import paddle.fluid.core as core
import paddle.fluid.framework as framework import paddle.fluid.framework as framework
......
...@@ -20,7 +20,7 @@ import numpy as np ...@@ -20,7 +20,7 @@ import numpy as np
import argparse import argparse
import time import time
import paddle.v2 as paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddle.fluid.profiler as profiler import paddle.fluid.profiler as profiler
......
...@@ -23,7 +23,7 @@ import time ...@@ -23,7 +23,7 @@ import time
import cProfile, pstats, StringIO import cProfile, pstats, StringIO
import paddle.v2 as paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddle.fluid.core as core import paddle.fluid.core as core
import paddle.fluid.profiler as profiler import paddle.fluid.profiler as profiler
......
...@@ -23,10 +23,10 @@ import random ...@@ -23,10 +23,10 @@ import random
import time import time
import numpy import numpy
import paddle.v2 as paddle import paddle
import paddle.v2.dataset.imdb as imdb import paddle.dataset.imdb as imdb
import paddle.fluid as fluid import paddle.fluid as fluid
from paddle.v2 import batch import paddle.batch as batch
import paddle.fluid.profiler as profiler import paddle.fluid.profiler as profiler
......
...@@ -17,7 +17,7 @@ from __future__ import print_function ...@@ -17,7 +17,7 @@ from __future__ import print_function
import sys import sys
import time import time
import numpy as np import numpy as np
import paddle.v2 as paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddle.fluid.core as core import paddle.fluid.core as core
import argparse import argparse
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册