Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
Mace
提交
badf833e
Mace
项目概览
慢慢CG
/
Mace
与 Fork 源项目一致
Fork自
Xiaomi / Mace
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Mace
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
badf833e
编写于
8月 21, 2018
作者:
L
liuqi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix bug: the output shape is not right in benchmark.
上级
382350bb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
4 deletion
+3
-4
docs/user_guide/op_lists.rst
docs/user_guide/op_lists.rst
+1
-1
mace/core/net.cc
mace/core/net.cc
+2
-3
未找到文件。
docs/user_guide/op_lists.rst
浏览文件 @
badf833e
...
@@ -37,7 +37,7 @@ Operator lists
...
@@ -37,7 +37,7 @@ Operator lists
"RELU1","Y",""
"RELU1","Y",""
"RELU6","Y",""
"RELU6","Y",""
"RELUX","Y",""
"RELUX","Y",""
"RESHAPE","Y","Limited support: GPU
is full supported, for CPU only supports softmax-like usage
."
"RESHAPE","Y","Limited support: GPU
only supports softmax-like usage, CPU only supports the usage which not change the storage format
."
"RESIZE_BILINEAR","Y",""
"RESIZE_BILINEAR","Y",""
"RNN","",""
"RNN","",""
"RPN_PROPOSAL_LAYER","Y",""
"RPN_PROPOSAL_LAYER","Y",""
...
...
mace/core/net.cc
浏览文件 @
badf833e
...
@@ -114,9 +114,8 @@ MaceStatus SerialNet::Run(RunMetadata *run_metadata) {
...
@@ -114,9 +114,8 @@ MaceStatus SerialNet::Run(RunMetadata *run_metadata) {
}
}
std
::
vector
<
std
::
vector
<
int64_t
>>
output_shapes
;
std
::
vector
<
std
::
vector
<
int64_t
>>
output_shapes
;
for
(
auto
output_shape
:
op
->
debug_def
().
output_shape
())
{
for
(
auto
output
:
op
->
Outputs
())
{
output_shapes
.
push_back
({
output_shape
.
dims
().
begin
(),
output_shapes
.
push_back
(
output
->
shape
());
output_shape
.
dims
().
end
()});
}
}
OperatorStats
op_stats
=
{
op
->
debug_def
().
name
(),
op
->
debug_def
().
type
(),
OperatorStats
op_stats
=
{
op
->
debug_def
().
name
(),
op
->
debug_def
().
type
(),
output_shapes
,
output_shapes
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录