From 36354ebe910305f4fdf5072cb5776ac97221dc02 Mon Sep 17 00:00:00 2001 From: yejianwu Date: Thu, 26 Apr 2018 16:29:39 +0800 Subject: [PATCH] fix CI error --- .gitlab-ci.yml | 3 +-- mace/ops/fully_connected.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3130fd69..02966b3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,6 +46,5 @@ extra_tests: platform_compitable_tests: stage: platform_compitable_tests script: + - mkdir -p mace/codegen/version && bash mace/tools/git/gen_version_source.sh mace/codegen/version/version.cc - bazel build mace/core:core - - diff --git a/mace/ops/fully_connected.h b/mace/ops/fully_connected.h index 255acee4..da0ba425 100644 --- a/mace/ops/fully_connected.h +++ b/mace/ops/fully_connected.h @@ -30,6 +30,7 @@ class FullyConnectedOp : public Operator { : Operator(operator_def, ws), functor_(OperatorBase::GetSingleArgument( "weight_type", + // TODO(liuqi): 8 is stand for kernels::WEIGHT_WIDTH 8 /*static_cast(kernels::WEIGHT_WIDTH)*/), kernels::StringToActivationType( OperatorBase::GetSingleArgument("activation", -- GitLab