Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Xiaomi
Mace
提交
bd222f84
Mace
项目概览
Xiaomi
/
Mace
通知
107
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看板
提交
bd222f84
编写于
3月 01, 2018
作者:
L
Liangliang He
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix comment format
上级
123f4938
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
26 addition
and
26 deletion
+26
-26
mace/core/mace.cc
mace/core/mace.cc
+1
-1
mace/kernels/bias_add.h
mace/kernels/bias_add.h
+1
-1
mace/kernels/buffer_to_image.h
mace/kernels/buffer_to_image.h
+1
-1
mace/kernels/concat.h
mace/kernels/concat.h
+1
-1
mace/kernels/neon/conv_2d_neon_5x5.cc
mace/kernels/neon/conv_2d_neon_5x5.cc
+1
-1
mace/kernels/opencl/concat.cc
mace/kernels/opencl/concat.cc
+1
-1
mace/kernels/opencl/helper.h
mace/kernels/opencl/helper.h
+2
-2
mace/kernels/opencl/space_to_batch_opencl.cc
mace/kernels/opencl/space_to_batch_opencl.cc
+3
-3
mace/kernels/softmax.h
mace/kernels/softmax.h
+1
-1
mace/ops/batch_norm.h
mace/ops/batch_norm.h
+1
-1
mace/ops/bias_add.h
mace/ops/bias_add.h
+1
-1
mace/ops/concat.h
mace/ops/concat.h
+1
-1
mace/ops/eltwise.h
mace/ops/eltwise.h
+1
-1
mace/ops/folded_batch_norm.h
mace/ops/folded_batch_norm.h
+1
-1
mace/ops/image_to_buffer.h
mace/ops/image_to_buffer.h
+2
-2
mace/ops/ops_test_util.h
mace/ops/ops_test_util.h
+1
-1
mace/ops/reshape.h
mace/ops/reshape.h
+1
-1
mace/ops/softmax.h
mace/ops/softmax.h
+1
-1
mace/utils/tuner.h
mace/utils/tuner.h
+1
-1
mace/utils/tuner_test.cc
mace/utils/tuner_test.cc
+1
-1
mace/utils/utils.h
mace/utils/utils.h
+1
-1
mace/utils/utils_test.cc
mace/utils/utils_test.cc
+1
-1
未找到文件。
mace/core/mace.cc
浏览文件 @
bd222f84
...
...
@@ -598,4 +598,4 @@ bool MaceEngine::Run(const float *input,
}
}
}
//
namespace mace
}
//
namespace mace
mace/kernels/bias_add.h
浏览文件 @
bd222f84
...
...
@@ -69,4 +69,4 @@ struct BiasAddFunctor<DeviceType::OPENCL, T> {
}
// namepsace kernels
}
// namespace mace
#endif //
MACE_KERNELS_BIAS_ADD_H_
#endif // MACE_KERNELS_BIAS_ADD_H_
mace/kernels/buffer_to_image.h
浏览文件 @
bd222f84
...
...
@@ -42,4 +42,4 @@ struct BufferToImageFunctor<DeviceType::OPENCL, T> : BufferToImageFunctorBase{
}
// namepsace kernels
}
// namespace mace
#endif //
MACE_KERNELS_BUFFER_TO_IMAGE_H_
#endif // MACE_KERNELS_BUFFER_TO_IMAGE_H_
mace/kernels/concat.h
浏览文件 @
bd222f84
...
...
@@ -88,4 +88,4 @@ struct ConcatFunctor<DeviceType::OPENCL, T> : ConcatFunctorBase{
}
// namepsace kernels
}
// namespace mace
#endif //
MACE_KERNELS_CONCAT_H_
#endif // MACE_KERNELS_CONCAT_H_
mace/kernels/neon/conv_2d_neon_5x5.cc
浏览文件 @
bd222f84
...
...
@@ -416,4 +416,4 @@ void Conv2dNeonK5x5S1(const float *input, // NCHW
}
// namespace kernels
}
// namespace mace
#endif //
MACE_KERNELS_NEON_CONV_2D_NEON_5X5_H_
#endif // MACE_KERNELS_NEON_CONV_2D_NEON_5X5_H_
mace/kernels/opencl/concat.cc
浏览文件 @
bd222f84
...
...
@@ -106,4 +106,4 @@ template
struct
ConcatFunctor
<
DeviceType
::
OPENCL
,
half
>;
}
// namespace kernels
}
//
namespace mace
}
//
namespace mace
mace/kernels/opencl/helper.h
浏览文件 @
bd222f84
...
...
@@ -95,5 +95,5 @@ std::string Concat(Args... args) {
}
}
// namespace kernels
}
//
namespace mace
#endif
//
MACE_KERNELS_OPENCL_HELPER_H_
}
//
namespace mace
#endif
//
MACE_KERNELS_OPENCL_HELPER_H_
mace/kernels/opencl/space_to_batch_opencl.cc
浏览文件 @
bd222f84
...
...
@@ -75,6 +75,6 @@ void SpaceToBatchFunctor<DeviceType::OPENCL, T>::operator()(Tensor *space_tensor
template
struct
SpaceToBatchFunctor
<
DeviceType
::
OPENCL
,
float
>;
template
struct
SpaceToBatchFunctor
<
DeviceType
::
OPENCL
,
half
>;
}
//
namespace kernels
}
//
namespace mace
#endif
//
MACE_KERNELS_OPENCL_SPACE_TO_BATCH_H_
}
//
namespace kernels
}
//
namespace mace
#endif
//
MACE_KERNELS_OPENCL_SPACE_TO_BATCH_H_
mace/kernels/softmax.h
浏览文件 @
bd222f84
...
...
@@ -62,4 +62,4 @@ struct SoftmaxFunctor<DeviceType::OPENCL, T> {
}
// namepsace kernels
}
// namespace mace
#endif //
MACE_KERNELS_SOFTMAX_H_
#endif // MACE_KERNELS_SOFTMAX_H_
mace/ops/batch_norm.h
浏览文件 @
bd222f84
...
...
@@ -57,4 +57,4 @@ class BatchNormOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_OPS_BATCH_NORM_H_
#endif // MACE_OPS_BATCH_NORM_H_
mace/ops/bias_add.h
浏览文件 @
bd222f84
...
...
@@ -42,4 +42,4 @@ class BiasAddOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_BIAS_ADD_H_
#endif // MACE_BIAS_ADD_H_
mace/ops/concat.h
浏览文件 @
bd222f84
...
...
@@ -42,4 +42,4 @@ class ConcatOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_OPS_CONCAT_H_
#endif // MACE_OPS_CONCAT_H_
mace/ops/eltwise.h
浏览文件 @
bd222f84
...
...
@@ -44,4 +44,4 @@ class EltwiseOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_OPS_RESHAPE_H_
#endif // MACE_OPS_RESHAPE_H_
mace/ops/folded_batch_norm.h
浏览文件 @
bd222f84
...
...
@@ -51,4 +51,4 @@ class FoldedBatchNormOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_OPS_FOLDED_BATCH_NORM_H_
#endif // MACE_OPS_FOLDED_BATCH_NORM_H_
mace/ops/image_to_buffer.h
浏览文件 @
bd222f84
...
...
@@ -34,5 +34,5 @@ class ImageToBufferOp: public Operator<D, T> {
OP_OUTPUT_TAGS
(
OUTPUT
);
};
}
//
namespace mace
#endif
//
MACE_OPS_IMAGE_TO_BUFFER_H_
}
//
namespace mace
#endif
//
MACE_OPS_IMAGE_TO_BUFFER_H_
mace/ops/ops_test_util.h
浏览文件 @
bd222f84
...
...
@@ -405,4 +405,4 @@ void ImageToBuffer(OpsTestNet &net,
}
// namespace mace
#endif //
MACE_OPS_TEST_UTIL_H_
#endif // MACE_OPS_TEST_UTIL_H_
mace/ops/reshape.h
浏览文件 @
bd222f84
...
...
@@ -61,4 +61,4 @@ class ReshapeOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_OPS_RESHAPE_H_
#endif // MACE_OPS_RESHAPE_H_
mace/ops/softmax.h
浏览文件 @
bd222f84
...
...
@@ -37,4 +37,4 @@ class SoftmaxOp : public Operator<D, T> {
}
// namespace mace
#endif //
MACE_SOFTMAX_H_
#endif // MACE_SOFTMAX_H_
mace/utils/tuner.h
浏览文件 @
bd222f84
...
...
@@ -181,4 +181,4 @@ class Tuner {
};
}
// namespace mace
#endif //
MACE_UTILS_TUNER_H_
#endif // MACE_UTILS_TUNER_H_
mace/utils/tuner_test.cc
浏览文件 @
bd222f84
...
...
@@ -81,4 +81,4 @@ TEST_F(TunerTest, SimpleTune) {
EXPECT_EQ
(
expect
,
res
);
}
}
//
namespace mace
}
//
namespace mace
mace/utils/utils.h
浏览文件 @
bd222f84
...
...
@@ -95,4 +95,4 @@ inline std::string ObfuscateSymbol(const std::string &src) {
#endif
}
// namespace mace
#endif //
MACE_UTILS_UTILS_H_
#endif // MACE_UTILS_UTILS_H_
mace/utils/utils_test.cc
浏览文件 @
bd222f84
...
...
@@ -81,4 +81,4 @@ TEST_F(TunerTest, SimpleTune) {
EXPECT_EQ
(
expect
,
res
);
}
}
//
namespace mace
}
//
namespace mace
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录