OutputDeclType checking failed for output(ReserveSpace) of batchnorm
Created by: wanghaoshuang
背景
我修改了lite/api/benchmark.cc, 尝试加载一个自定义的相对比较复杂的模型。
Paddle版本:Paddle2.0 PaddleLite分支:release/v2.7 cmmit: aaba6447
编译
build cmd:
./lite/tools/build.sh --arm_os=android --arm_abi=armv8 --arm_lang=gcc --android_stl=c++_static --build_extra=ON --with_log=ON full_publish
问题
cmd:
GLOG_V=5 ./benchmark_bin
error log:
[I 9/25 23:50: 7.856 /root/Paddle-Lite/lite/core/optimizer.h RunPasses:257] == Running pass: variable_place_inference_pass
[F 9/25 23:50: 7.856 /root/Paddle-Lite/lite/core/kernel.cc GetOutputDeclType:44] Check failed: type: no type registered for kernel [batch_norm/def] output argument