提交 f5aa29e8 编写于 作者: L Liangliang He

Minor fixes

上级 28239eb2
......@@ -55,4 +55,4 @@ unique_ptr<NetBase> CreateNet(
}
} // namespace mace
\ No newline at end of file
} // namespace mace
......@@ -26,6 +26,7 @@ class Registry {
unique_ptr<ObjectType> Create(const SrcType& key, Args ... args) {
if (registry_.count(key) == 0) {
VLOG(2) << "Key not registered: " << key;
return nullptr;
}
return registry_[key](args...);
......
......@@ -3,7 +3,11 @@ Examples
* Build the example (e.g., with armeabi-v7a target)
```
bazel build mace/examples:helloworld \
# To enable debug mode build, use '-c dbg' flag.
# To check the underlying commands executed, use '-s' flag.
# TO check the failed command, use '--verbose_failures' flag.
bazel build -c opt mace/examples:helloworld \
--crosstool_top=//external:android/crosstool \
--host_crosstool_top=@bazel_tools//tools/cpp:toolchain \
--cpu=armeabi-v7a
......
......@@ -25,4 +25,4 @@ bool ReluOp<DeviceType::CPU, float>::Run() {
REGISTER_CPU_OPERATOR(Relu, ReluOp<DeviceType::CPU, float>);
} // namespace mace
\ No newline at end of file
} // namespace mace
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册