未验证 提交 8a24a31c 编写于 作者: M mapingshuo 提交者: GitHub

fix the compile error of the deformable_conv kernel #3907

上级 9b76dece
......@@ -17,6 +17,7 @@
#include "lite/backends/arm/math/funcs.h"
#include "lite/core/kernel.h"
#ifdef LITE_WITH_PROFILE
#include <string>
#include "lite/core/profile/profiler.h"
#endif
......@@ -56,8 +57,9 @@ class DeformableConvCompute : public KernelLite<TARGET(kARM), Ptype> {
#ifdef LITE_WITH_PROFILE
virtual void SetProfileRuntimeKernelInfo(
paddle::lite::profile::OpCharacter* ch) {
impl_->SetProfileRuntimeKernelInfo(ch);
ch->kernel_func_name = kernel_func_name_;
}
std::string kernel_func_name_{"NotImplForDeformableConv"};
#endif
~DeformableConvCompute() = default;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册