Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
b9999435
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b9999435
编写于
2月 14, 2019
作者:
T
Tao Luo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove 'import paddle.v2' in read data
test=develop
上级
031d9950
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
1 addition
and
10 deletion
+1
-10
benchmark/tensorflow/machine_translation.py
benchmark/tensorflow/machine_translation.py
+0
-2
benchmark/tensorflow/mnist.py
benchmark/tensorflow/mnist.py
+0
-1
benchmark/tensorflow/resnet.py
benchmark/tensorflow/resnet.py
+0
-1
benchmark/tensorflow/stacked_dynamic_lstm.py
benchmark/tensorflow/stacked_dynamic_lstm.py
+0
-2
benchmark/tensorflow/vgg.py
benchmark/tensorflow/vgg.py
+0
-1
python/paddle/fluid/tests/demo/file_reader/convert_data_to_recordio.py
.../fluid/tests/demo/file_reader/convert_data_to_recordio.py
+0
-1
python/paddle/fluid/tests/demo/pyreader.py
python/paddle/fluid/tests/demo/pyreader.py
+1
-2
未找到文件。
benchmark/tensorflow/machine_translation.py
浏览文件 @
b9999435
...
@@ -35,8 +35,6 @@ import os
...
@@ -35,8 +35,6 @@ import os
import
argparse
import
argparse
import
time
import
time
import
paddle.v2
as
paddle
parser
=
argparse
.
ArgumentParser
(
description
=
__doc__
)
parser
=
argparse
.
ArgumentParser
(
description
=
__doc__
)
parser
.
add_argument
(
parser
.
add_argument
(
"--embedding_dim"
,
"--embedding_dim"
,
...
...
benchmark/tensorflow/mnist.py
浏览文件 @
b9999435
...
@@ -21,7 +21,6 @@ import time
...
@@ -21,7 +21,6 @@ import time
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
import
paddle.v2
as
paddle
DTYPE
=
tf
.
float32
DTYPE
=
tf
.
float32
...
...
benchmark/tensorflow/resnet.py
浏览文件 @
b9999435
...
@@ -27,7 +27,6 @@ import argparse
...
@@ -27,7 +27,6 @@ import argparse
import
time
import
time
import
numpy
as
np
import
numpy
as
np
import
paddle.v2
as
paddle
import
tensorflow
as
tf
import
tensorflow
as
tf
DTYPE
=
tf
.
float32
DTYPE
=
tf
.
float32
...
...
benchmark/tensorflow/stacked_dynamic_lstm.py
浏览文件 @
b9999435
...
@@ -21,8 +21,6 @@ import argparse
...
@@ -21,8 +21,6 @@ import argparse
import
time
import
time
import
tensorflow
as
tf
import
tensorflow
as
tf
import
paddle.v2
as
paddle
def
parse_args
():
def
parse_args
():
parser
=
argparse
.
ArgumentParser
(
"LSTM model benchmark."
)
parser
=
argparse
.
ArgumentParser
(
"LSTM model benchmark."
)
...
...
benchmark/tensorflow/vgg.py
浏览文件 @
b9999435
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
# limitations under the License.
# limitations under the License.
"""VGG16 benchmark in TensorFlow"""
"""VGG16 benchmark in TensorFlow"""
import
tensorflow
as
tf
import
tensorflow
as
tf
import
paddle.v2
as
paddle
import
numpy
as
np
import
numpy
as
np
import
argparse
import
argparse
import
time
import
time
...
...
python/paddle/fluid/tests/demo/file_reader/convert_data_to_recordio.py
浏览文件 @
b9999435
...
@@ -16,7 +16,6 @@ from __future__ import print_function
...
@@ -16,7 +16,6 @@ from __future__ import print_function
import
sys
import
sys
import
paddle.fluid
as
fluid
import
paddle.fluid
as
fluid
import
paddle.v2
as
paddle
def
load_vocab
(
filename
):
def
load_vocab
(
filename
):
...
...
python/paddle/fluid/tests/demo/pyreader.py
浏览文件 @
b9999435
...
@@ -20,7 +20,6 @@ import six
...
@@ -20,7 +20,6 @@ import six
import
paddle
import
paddle
import
paddle.dataset.mnist
as
mnist
import
paddle.dataset.mnist
as
mnist
import
paddle.fluid
as
fluid
import
paddle.fluid
as
fluid
import
paddle.v2
def
network
(
is_train
):
def
network
(
is_train
):
...
@@ -72,7 +71,7 @@ def main():
...
@@ -72,7 +71,7 @@ def main():
use_cuda
=
use_cuda
,
share_vars_from
=
trainer
,
main_program
=
test_prog
)
use_cuda
=
use_cuda
,
share_vars_from
=
trainer
,
main_program
=
test_prog
)
train_reader
.
decorate_paddle_reader
(
train_reader
.
decorate_paddle_reader
(
paddle
.
v2
.
reader
.
shuffle
(
paddle
.
reader
.
shuffle
(
paddle
.
batch
(
mnist
.
train
(),
512
),
buf_size
=
8192
))
paddle
.
batch
(
mnist
.
train
(),
512
),
buf_size
=
8192
))
test_reader
.
decorate_paddle_reader
(
paddle
.
batch
(
mnist
.
test
(),
512
))
test_reader
.
decorate_paddle_reader
(
paddle
.
batch
(
mnist
.
test
(),
512
))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录