提交 35758666 编写于 作者: 李滨

Merge branch 'micro_bug' into 'master'

fix: delete activation tester's redundant code line

See merge request deep-computing/mace!1265
......@@ -56,7 +56,6 @@ void ActivationBenchmark(const char *activation_type, int iters,
static void MICRO_BM##_##TYPE##_##N##_##H##_##W##_##C(int32_t iters) { \
const int32_t buffer_length = N * H * W * C; \
MACE_DEFINE_RANDOM_INPUT(float, input, buffer_length); \
MACE_DEFINE_RANDOM_INPUT(float, input, buffer_length); \
float *output = \
common::test::GetGlobalBuffer()->GetBuffer<float>(buffer_length);\
int32_t input_dims[] = {N, H, W, C}; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册