Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Xiaomi
Mace
提交
d3487f3b
Mace
项目概览
Xiaomi
/
Mace
通知
106
Star
40
Fork
27
代码
文件
提交
分支
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d3487f3b
编写于
7月 11, 2018
作者:
L
Liangliang He
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'update_docs' into 'master'
update docs See merge request !650
上级
0ac15b5c
e112b7c2
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
15 deletion
+14
-15
docs/user_guide/advanced_usage.rst
docs/user_guide/advanced_usage.rst
+11
-11
docs/user_guide/op_lists.rst
docs/user_guide/op_lists.rst
+3
-4
未找到文件。
docs/user_guide/advanced_usage.rst
浏览文件 @
d3487f3b
==============
==============
=
Advanced usage
Advanced usage
==============
==============
=
This part contains the full usage of MACE.
This part contains the full usage of MACE.
=========
---------
Overview
Overview
=========
---------
As mentioned in the previous part, a model deployment file defines a case of model deployment.
As mentioned in the previous part, a model deployment file defines a case of model deployment.
The whole building process is loading a deployment file, converting models, building MACE and packing generated files.
The whole building process is loading a deployment file, converting models, building MACE and packing generated files.
================
----------------
Deployment file
Deployment file
================
----------------
One deployment file will generate one library normally, but if more than one ABIs are specified,
One deployment file will generate one library normally, but if more than one ABIs are specified,
...
@@ -24,7 +24,7 @@ in one deployment file.
...
@@ -24,7 +24,7 @@ in one deployment file.
* **Example**
* **Example**
Here is an example deployment file
used by an Android demo application
.
Here is an example deployment file
with two models
.
.. literalinclude:: models/demo_app_models.yml
.. literalinclude:: models/demo_app_models.yml
:language: yaml
:language: yaml
...
@@ -105,9 +105,9 @@ in one deployment file.
...
@@ -105,9 +105,9 @@ in one deployment file.
sha256sum /path/to/your/file
sha256sum /path/to/your/file
==============
---------------
Advanced Usage
Advanced Usage
==============
---------------
There are two common advanced use cases: 1. convert a model to CPP code. 2. tuning for specific SOC if use GPU.
There are two common advanced use cases: 1. convert a model to CPP code. 2. tuning for specific SOC if use GPU.
...
@@ -274,9 +274,9 @@ There are two common advanced use cases: 1. convert a model to CPP code. 2. tuni
...
@@ -274,9 +274,9 @@ There are two common advanced use cases: 1. convert a model to CPP code. 2. tuni
// ... Same with the code in basic usage.
// ... Same with the code in basic usage.
===============
----------------
Useful Commands
Useful Commands
===============
----------------
* **run the model**
* **run the model**
.. code:: sh
.. code:: sh
...
...
docs/user_guide/op_lists.rst
浏览文件 @
d3487f3b
...
@@ -3,7 +3,6 @@ Operator lists
...
@@ -3,7 +3,6 @@ Operator lists
.. Please keep in chronological order when editing
.. Please keep in chronological order when editing
.. csv-table::
.. csv-table::
:widths: auto
:header: "Operator","Supported","Remark"
:header: "Operator","Supported","Remark"
"AVERAGE_POOL_2D","Y",""
"AVERAGE_POOL_2D","Y",""
...
@@ -27,17 +26,17 @@ Operator lists
...
@@ -27,17 +26,17 @@ Operator lists
"LOCAL_RESPONSE_NORMALIZATION","Y",""
"LOCAL_RESPONSE_NORMALIZATION","Y",""
"LOGISTIC","Y",""
"LOGISTIC","Y",""
"LSTM","",""
"LSTM","",""
"MATMUL","Y",""
"MATMUL","Y","
Only CPU is supported
"
"MAX_POOL_2D","Y",""
"MAX_POOL_2D","Y",""
"PAD","Y",""
"PAD","Y",""
"PSROI_ALIGN","Y",""
"PSROI_ALIGN","Y",""
"PRELU","Y","Only caffe model is supported"
"PRELU","Y","Only caffe model is supported"
"REDUCE_MEAN","Y","Only tensorflow model is supported"
"REDUCE_MEAN","Y","Only tensorflow model is supported
. For GPU only H + W axis reduce is supported
"
"RELU","Y",""
"RELU","Y",""
"RELU1","Y",""
"RELU1","Y",""
"RELU6","Y",""
"RELU6","Y",""
"RELUX","Y",""
"RELUX","Y",""
"RESHAPE","Y","Limited support:
only internal use of reshape in composed operations is supported
"
"RESHAPE","Y","Limited support:
GPU is full supported, for CPU only supports softmax-like usage
"
"RESIZE_BILINEAR","Y",""
"RESIZE_BILINEAR","Y",""
"RNN","",""
"RNN","",""
"RPN_PROPOSAL_LAYER","Y",""
"RPN_PROPOSAL_LAYER","Y",""
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录