提交 19f51f8e 编写于 作者: qnqinan's avatar qnqinan

fix a bug of sigmoid kernel in FPGA v2 track, test=develop

上级 df2a2785
......@@ -48,7 +48,7 @@ bool SigmoidKernel<FPGA, float>::Init(SigmoidParam<FPGA> *param) {
template <>
void SigmoidKernel<FPGA, float>::Compute(const SigmoidParam<FPGA> &param) {
fpga::PerformBypass(param.FpgaArgs());
param.Out()->scale[0] = 127.0;
param.Out()->scale[0] = 1.0;
}
} // namespace operators
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册