Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
afeixing77
Paddle
提交
fa04a764
P
Paddle
项目概览
afeixing77
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fa04a764
编写于
5月 11, 2018
作者:
L
Luo Tao
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' into mklml
上级
86ed4ef6
45aefbc7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
5 deletion
+7
-5
README.md
README.md
+2
-2
paddle/fluid/framework/details/computation_op_handle.h
paddle/fluid/framework/details/computation_op_handle.h
+1
-1
paddle/fluid/framework/details/fetch_op_handle.h
paddle/fluid/framework/details/fetch_op_handle.h
+1
-1
python/paddle/fluid/tests/unittests/test_network_with_dtype.py
...n/paddle/fluid/tests/unittests/test_network_with_dtype.py
+3
-1
未找到文件。
README.md
浏览文件 @
fa04a764
...
...
@@ -62,9 +62,9 @@ Please refer to our [release announcement](https://github.com/PaddlePaddle/Paddl
## Installation
It is recommended to check out the
[
Docker installation guide
](
http://www.paddlepaddle.org/docs/develop/documentation/
en/getstarted
/build_and_install/docker_install_en.html
)
[
Docker installation guide
](
http://www.paddlepaddle.org/docs/develop/documentation/
fluid/en
/build_and_install/docker_install_en.html
)
before looking into the
[
build from source guide
](
http://www.paddlepaddle.org/docs/develop/documentation/
en/getstarted
/build_and_install/build_from_source_en.html
)
.
[
build from source guide
](
http://www.paddlepaddle.org/docs/develop/documentation/
fluid/en
/build_and_install/build_from_source_en.html
)
.
## Documentation
...
...
paddle/fluid/framework/details/computation_op_handle.h
浏览文件 @
fa04a764
...
...
@@ -36,7 +36,7 @@ struct ComputationOpHandle : public OpHandleBase {
protected:
void
RunImpl
()
override
;
virtual
bool
NeedWait
(
VarHandleBase
*
in_var
)
;
bool
NeedWait
(
VarHandleBase
*
in_var
)
override
;
private:
std
::
unique_ptr
<
OperatorBase
>
op_
;
...
...
paddle/fluid/framework/details/fetch_op_handle.h
浏览文件 @
fa04a764
...
...
@@ -42,7 +42,7 @@ struct FetchOpHandle : public OpHandleBase {
protected:
void
RunImpl
()
override
;
v
irtual
void
WaitInputVarGenerated
(
const
platform
::
Place
&
place
)
;
v
oid
WaitInputVarGenerated
(
const
platform
::
Place
&
place
)
override
;
private:
FeedFetchList
*
data_
;
...
...
python/paddle/fluid/tests/unittests/test_network_with_dtype.py
浏览文件 @
fa04a764
...
...
@@ -24,7 +24,7 @@ BATCH_SIZE = 20
class
TestNetWithDtype
(
unittest
.
TestCase
):
def
set
Up
(
self
):
def
set
_network
(
self
):
self
.
dtype
=
"float64"
self
.
init_dtype
()
self
.
x
=
fluid
.
layers
.
data
(
name
=
'x'
,
shape
=
[
13
],
dtype
=
self
.
dtype
)
...
...
@@ -55,12 +55,14 @@ class TestNetWithDtype(unittest.TestCase):
pass
def
test_cpu
(
self
):
self
.
set_network
()
place
=
fluid
.
CPUPlace
()
self
.
run_net_on_place
(
place
)
def
test_gpu
(
self
):
if
not
core
.
is_compiled_with_cuda
():
return
self
.
set_network
()
place
=
fluid
.
CUDAPlace
(
0
)
self
.
run_net_on_place
(
place
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录