提交 89efdf4e 编写于 作者: Y yejianwu

fix fully_connected

上级 49e1e25b
...@@ -30,7 +30,7 @@ class FullyConnectedOp : public Operator<D, T> { ...@@ -30,7 +30,7 @@ class FullyConnectedOp : public Operator<D, T> {
: Operator<D, T>(operator_def, ws), : Operator<D, T>(operator_def, ws),
functor_(OperatorBase::GetSingleArgument<int>( functor_(OperatorBase::GetSingleArgument<int>(
"weight_type", "weight_type",
7 /*static_cast<int>(kernels::WEIGHT_WIDTH)*/), 8 /*static_cast<int>(kernels::WEIGHT_WIDTH)*/),
kernels::StringToActivationType( kernels::StringToActivationType(
OperatorBase::GetSingleArgument<std::string>("activation", OperatorBase::GetSingleArgument<std::string>("activation",
"NOOP")), "NOOP")),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册