未验证 提交 81852863 编写于 作者: qnqinan's avatar qnqinan 提交者: GitHub

fix a bug of sigmoid kernel in FPGA v2 track, test=develop , closes#2438 (#2439)

* update proposal and psroipool kernel file in FPGA V2 track

* update, test=develop

* update FPGA v2 pe cpp file and ew kernel files, test=develop

* fix a bug of sigmoid kernel in FPGA v2 track, test=develop
上级 3d73dea9
......@@ -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.
先完成此消息的编辑!
想要评论请 注册