Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wk1234123
Tengine
提交
7e583428
Tengine
项目概览
wk1234123
/
Tengine
与 Fork 源项目一致
Fork自
OAID / Tengine
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Tengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
7e583428
编写于
11月 14, 2020
作者:
wangq3802
提交者:
GitHub
11月 14, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug : fix op release (#479)
Co-authored-by:
N
wangquan
<
qwang02@openailab.com
>
上级
eb0a08ea
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
9 addition
and
6 deletion
+9
-6
src/op/reducel2.c
src/op/reducel2.c
+1
-1
src/op/reduction.c
src/op/reduction.c
+1
-1
src/op/squeeze.c
src/op/squeeze.c
+1
-1
src/op/swap_axis.c
src/op/swap_axis.c
+1
-1
src/op/topkv2.c
src/op/topkv2.c
+1
-1
src/op/unsqueeze.c
src/op/unsqueeze.c
+4
-1
未找到文件。
src/op/reducel2.c
浏览文件 @
7e583428
...
...
@@ -95,7 +95,6 @@ static int init_op(struct ir_op* op)
static
void
release_op
(
struct
ir_op
*
op
)
{
sys_free
(
op
->
param_mem
);
sys_free
(
GET_PARAM_PARSE_MAP
(
reducel2_param
));
}
static
int
register_reducel2_op
(
void
*
arg
)
...
...
@@ -112,6 +111,7 @@ static int register_reducel2_op(void* arg)
static
int
unregister_reducel2_op
(
void
*
arg
)
{
sys_free
(
GET_PARAM_PARSE_MAP
(
reducel2_param
));
return
unregister_op
(
OP_REDUCEL2
,
1
);
}
...
...
src/op/reduction.c
浏览文件 @
7e583428
...
...
@@ -232,7 +232,6 @@ static int init_op(struct ir_op* op)
static
void
release_op
(
struct
ir_op
*
op
)
{
sys_free
(
op
->
param_mem
);
sys_free
(
GET_PARAM_PARSE_MAP
(
reduction_param
));
}
static
int
register_reduction_op
(
void
*
arg
)
...
...
@@ -249,6 +248,7 @@ static int register_reduction_op(void* arg)
static
int
unregister_reduction_op
(
void
*
arg
)
{
sys_free
(
GET_PARAM_PARSE_MAP
(
reduction_param
));
return
unregister_op
(
OP_REDUCTION
,
1
);
}
...
...
src/op/squeeze.c
浏览文件 @
7e583428
...
...
@@ -154,7 +154,6 @@ static int init_op(struct ir_op* op)
static
void
release_op
(
struct
ir_op
*
op
)
{
sys_free
(
op
->
param_mem
);
sys_free
(
GET_PARAM_PARSE_MAP
(
squeeze_param
));
}
static
int
register_squeeze_op
(
void
*
arg
)
...
...
@@ -171,6 +170,7 @@ static int register_squeeze_op(void* arg)
static
int
unregister_squeeze_op
(
void
*
arg
)
{
sys_free
(
GET_PARAM_PARSE_MAP
(
squeeze_param
));
return
unregister_op
(
OP_SQUEEZE
,
1
);
}
...
...
src/op/swap_axis.c
浏览文件 @
7e583428
...
...
@@ -100,7 +100,6 @@ static int init_op(struct ir_op* op)
static
void
release_op
(
struct
ir_op
*
op
)
{
sys_free
(
op
->
param_mem
);
sys_free
(
GET_PARAM_PARSE_MAP
(
swap_axis_param
));
}
static
int
register_swap_axis_op
(
void
*
arg
)
...
...
@@ -117,6 +116,7 @@ static int register_swap_axis_op(void* arg)
static
int
unregister_swap_axis_op
(
void
*
arg
)
{
sys_free
(
GET_PARAM_PARSE_MAP
(
swap_axis_param
));
return
unregister_op
(
OP_SWAP_AXIS
,
1
);
}
...
...
src/op/topkv2.c
浏览文件 @
7e583428
...
...
@@ -88,7 +88,6 @@ static int init_op(struct ir_op* op)
static
void
release_op
(
struct
ir_op
*
op
)
{
sys_free
(
op
->
param_mem
);
sys_free
(
GET_PARAM_PARSE_MAP
(
topkv2_param
));
}
static
int
register_topkv2_op
(
void
*
arg
)
...
...
@@ -105,6 +104,7 @@ static int register_topkv2_op(void* arg)
static
int
unregister_topkv2_op
(
void
*
arg
)
{
sys_free
(
GET_PARAM_PARSE_MAP
(
topkv2_param
));
return
unregister_op
(
OP_TOPKV2
,
1
);
}
...
...
src/op/unsqueeze.c
浏览文件 @
7e583428
...
...
@@ -100,8 +100,10 @@ static int init_op(struct ir_op* op)
static
void
release_op
(
struct
ir_op
*
op
)
{
struct
unsqueeze_param
*
unsqueeze_param
=
(
struct
unsqueeze_param
*
)
op
->
param_mem
;
if
(
unsqueeze_param
->
axises
)
sys_free
(
unsqueeze_param
->
axises
);
sys_free
(
op
->
param_mem
);
sys_free
(
GET_PARAM_PARSE_MAP
(
unsqueeze_param
));
}
static
int
register_unsqueeze_op
(
void
*
arg
)
...
...
@@ -118,6 +120,7 @@ static int register_unsqueeze_op(void* arg)
static
int
unregister_unsqueeze_op
(
void
*
arg
)
{
sys_free
(
GET_PARAM_PARSE_MAP
(
unsqueeze_param
));
return
unregister_op
(
OP_UNSQUEEZE
,
1
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录