Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
闹闹不闹!
Mace
提交
a10afe02
Mace
项目概览
闹闹不闹!
/
Mace
与 Fork 源项目一致
Fork自
Xiaomi / Mace
通知
1
Star
1
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a10afe02
编写于
8月 17, 2018
作者:
Y
yejianwu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
strip generated models.a
上级
a4d5cf46
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
16 addition
and
6 deletion
+16
-6
mace/benchmark/BUILD
mace/benchmark/BUILD
+2
-2
mace/codegen/BUILD
mace/codegen/BUILD
+11
-1
mace/tools/validation/BUILD
mace/tools/validation/BUILD
+2
-2
tools/converter.py
tools/converter.py
+1
-1
未找到文件。
mace/benchmark/BUILD
浏览文件 @
a10afe02
...
@@ -35,7 +35,7 @@ cc_binary(
...
@@ -35,7 +35,7 @@ cc_binary(
deps
=
[
deps
=
[
":statistics"
,
":statistics"
,
"//external:gflags_nothreads"
,
"//external:gflags_nothreads"
,
"//mace/codegen:
generated_
models"
,
"//mace/codegen:
lib
models"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/libmace:libmace"
,
"//mace/libmace:libmace"
,
],
],
...
@@ -65,7 +65,7 @@ cc_binary(
...
@@ -65,7 +65,7 @@ cc_binary(
":statistics"
,
":statistics"
,
"//external:gflags_nothreads"
,
"//external:gflags_nothreads"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:
generated_
models"
,
"//mace/codegen:
lib
models"
,
"//mace/libmace:libmace_dynamic"
,
"//mace/libmace:libmace_dynamic"
,
],
],
)
)
...
...
mace/codegen/BUILD
浏览文件 @
a10afe02
...
@@ -8,7 +8,7 @@ package(
...
@@ -8,7 +8,7 @@ package(
load
(
"//mace:mace.bzl"
,
"mace_version_genrule"
,
"encrypt_opencl_kernel_genrule"
)
load
(
"//mace:mace.bzl"
,
"mace_version_genrule"
,
"encrypt_opencl_kernel_genrule"
)
cc_library
(
cc_library
(
name
=
"
generated_
models"
,
name
=
"
lib
models"
,
srcs
=
glob
([
"models/*/*.cc"
]),
srcs
=
glob
([
"models/*/*.cc"
]),
hdrs
=
glob
([
"models/*/*.h"
]),
hdrs
=
glob
([
"models/*/*.h"
]),
copts
=
[
"-Werror"
,
"-Wextra"
,
"-Wno-missing-field-initializers"
],
copts
=
[
"-Werror"
,
"-Wextra"
,
"-Wno-missing-field-initializers"
],
...
@@ -17,6 +17,16 @@ cc_library(
...
@@ -17,6 +17,16 @@ cc_library(
],
],
)
)
genrule
(
name
=
"generated_models"
,
srcs
=
[
":libmodels"
,
],
outs
=
[
"libgenerated_models.a"
],
cmd
=
"$(STRIP) -x $(SRCS) -o $@"
,
visibility
=
[
"//visibility:public"
],
)
mace_version_genrule
()
mace_version_genrule
()
encrypt_opencl_kernel_genrule
()
encrypt_opencl_kernel_genrule
()
...
...
mace/tools/validation/BUILD
浏览文件 @
a10afe02
...
@@ -15,7 +15,7 @@ cc_binary(
...
@@ -15,7 +15,7 @@ cc_binary(
deps
=
[
deps
=
[
"//external:gflags_nothreads"
,
"//external:gflags_nothreads"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:
generated_
models"
,
"//mace/codegen:
lib
models"
,
"//mace/libmace"
,
"//mace/libmace"
,
],
],
)
)
...
@@ -42,7 +42,7 @@ cc_binary(
...
@@ -42,7 +42,7 @@ cc_binary(
deps
=
[
deps
=
[
"//external:gflags_nothreads"
,
"//external:gflags_nothreads"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:generated_mace_engine_factory"
,
"//mace/codegen:
generated_
models"
,
"//mace/codegen:
lib
models"
,
"//mace/libmace:libmace_dynamic"
,
"//mace/libmace:libmace_dynamic"
,
],
],
)
)
tools/converter.py
浏览文件 @
a10afe02
...
@@ -66,7 +66,7 @@ LIBMACE_STATIC_TARGET = "//mace/libmace:libmace_static"
...
@@ -66,7 +66,7 @@ LIBMACE_STATIC_TARGET = "//mace/libmace:libmace_static"
LIBMACE_STATIC_PATH
=
"bazel-genfiles/mace/libmace/libmace.a"
LIBMACE_STATIC_PATH
=
"bazel-genfiles/mace/libmace/libmace.a"
LIBMACE_DYNAMIC_PATH
=
"bazel-bin/mace/libmace/libmace.so"
LIBMACE_DYNAMIC_PATH
=
"bazel-bin/mace/libmace/libmace.so"
MODEL_LIB_TARGET
=
"//mace/codegen:generated_models"
MODEL_LIB_TARGET
=
"//mace/codegen:generated_models"
MODEL_LIB_PATH
=
"bazel-
bin
/mace/codegen/libgenerated_models.a"
MODEL_LIB_PATH
=
"bazel-
genfiles
/mace/codegen/libgenerated_models.a"
MACE_RUN_STATIC_NAME
=
"mace_run_static"
MACE_RUN_STATIC_NAME
=
"mace_run_static"
MACE_RUN_DYNAMIC_NAME
=
"mace_run_dynamic"
MACE_RUN_DYNAMIC_NAME
=
"mace_run_dynamic"
MACE_RUN_STATIC_TARGET
=
"//mace/tools/validation:"
+
MACE_RUN_STATIC_NAME
MACE_RUN_STATIC_TARGET
=
"//mace/tools/validation:"
+
MACE_RUN_STATIC_NAME
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录