提交 d55b0caa 编写于 作者: Z zhangyang0701 提交者: GitHub

Merge pull request #731 from zhangyang0701/develop

Correct FPGA track concat_kernel.cpp , close #730
......@@ -25,5 +25,5 @@ REGISTER_OPERATOR_CPU(feed, ops::FeedOp);
REGISTER_OPERATOR_MALI_GPU(feed, ops::FeedOp);
#endif
#ifdef PADDLE_MOBILE_FPGA
REGISTER_OPERATOR_FPGA(feed, ops::FeedOp);
#endif
......@@ -20,12 +20,12 @@ namespace paddle_mobile {
namespace operators {
template <>
bool ConcatKernel<FPGA, half>::Init(ConcatParam *param) {
bool ConcatKernel<FPGA, float>::Init(ConcatParam *param) {
return true;
}
template <>
void ConcatKernel<FPGA, half>::Compute(const ConcatParam &param) const {
void ConcatKernel<FPGA, float>::Compute(const ConcatParam &param) const {
auto inputs = param.Inputs();
auto *out = param.Out();
int64_t axis = param.Axis();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册