Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
97f68d82
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
331
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
97f68d82
编写于
7月 02, 2018
作者:
Y
Yao,kun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Codestyle
上级
aefdbbc9
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
5 deletion
+6
-5
src/operators/dropout_op.h
src/operators/dropout_op.h
+3
-2
src/operators/im2sequence_op.h
src/operators/im2sequence_op.h
+1
-1
src/operators/kernel/dropout_kernel.h
src/operators/kernel/dropout_kernel.h
+1
-1
src/operators/kernel/im2sequence_kernel.h
src/operators/kernel/im2sequence_kernel.h
+1
-1
未找到文件。
src/operators/dropout_op.h
浏览文件 @
97f68d82
...
@@ -39,8 +39,9 @@ class DropoutOp
...
@@ -39,8 +39,9 @@ class DropoutOp
operators
::
DropoutKernel
<
DeviceType
,
T
>>
(
operators
::
DropoutKernel
<
DeviceType
,
T
>>
(
type
,
inputs
,
outputs
,
attrs
,
scope
)
{}
type
,
inputs
,
outputs
,
attrs
,
scope
)
{}
//using framework::OperatorWithKernel<DeviceType, DropoutParam,
// using framework::OperatorWithKernel<DeviceType, DropoutParam,
// operators::DropoutKernel<DeviceType, T>>;
// operators::DropoutKernel<DeviceType,
// T>>;
void
InferShape
()
const
override
;
void
InferShape
()
const
override
;
protected:
protected:
...
...
src/operators/im2sequence_op.h
浏览文件 @
97f68d82
...
@@ -39,7 +39,7 @@ class Im2SequenceOp : public framework::OperatorWithKernel<
...
@@ -39,7 +39,7 @@ class Im2SequenceOp : public framework::OperatorWithKernel<
operators
::
Im2SequenceKernel
<
DeviceType
,
T
>>
(
type
,
inputs
,
outputs
,
operators
::
Im2SequenceKernel
<
DeviceType
,
T
>>
(
type
,
inputs
,
outputs
,
attrs
,
scope
)
{}
attrs
,
scope
)
{}
//using framework::OperatorWithKernel<
//
using framework::OperatorWithKernel<
// DeviceType, Im2SequenceParam,
// DeviceType, Im2SequenceParam,
// operators::Im2SequenceKernel<DeviceType, T>>::OperatorWithKernel;
// operators::Im2SequenceKernel<DeviceType, T>>::OperatorWithKernel;
void
InferShape
()
const
override
;
void
InferShape
()
const
override
;
...
...
src/operators/kernel/dropout_kernel.h
浏览文件 @
97f68d82
...
@@ -26,7 +26,7 @@ template <typename DeviceType, typename T>
...
@@ -26,7 +26,7 @@ template <typename DeviceType, typename T>
class
DropoutKernel
:
public
framework
::
OpKernelBase
<
DeviceType
,
DropoutParam
>
{
class
DropoutKernel
:
public
framework
::
OpKernelBase
<
DeviceType
,
DropoutParam
>
{
public:
public:
void
Compute
(
const
DropoutParam
&
param
)
const
;
void
Compute
(
const
DropoutParam
&
param
)
const
;
bool
Init
(
DropoutParam
*
para
);
bool
Init
(
DropoutParam
*
para
);
};
};
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
...
...
src/operators/kernel/im2sequence_kernel.h
浏览文件 @
97f68d82
...
@@ -31,7 +31,7 @@ template <typename DeviceType, typename T>
...
@@ -31,7 +31,7 @@ template <typename DeviceType, typename T>
class
Im2SequenceKernel
class
Im2SequenceKernel
:
public
framework
::
OpKernelBase
<
DeviceType
,
Im2SequenceParam
>
{
:
public
framework
::
OpKernelBase
<
DeviceType
,
Im2SequenceParam
>
{
public:
public:
void
Compute
(
const
Im2SequenceParam
&
param
)
const
;
void
Compute
(
const
Im2SequenceParam
&
param
)
const
;
bool
Init
(
Im2SequenceParam
*
para
);
bool
Init
(
Im2SequenceParam
*
para
);
};
};
}
// namespace operators
}
// namespace operators
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录