提交 79b00c9d 编写于 作者: G guru4elephant

refine general text infer first

上级 5b7d9f87
......@@ -41,7 +41,10 @@ using baidu::paddle_serving::predictor::PaddleGeneralModelConfig;
int GeneralTextInferOp::inference() {
const GeneralTextReaderOutput *reader_out =
get_depend_argument<GeneralTextReaderOutput>("general_text_reader_op");
get_depend_argument<GeneralTextReaderOutput>(pre_name());
VLOG(2) << "Going to get previous node name: " << pre_name();
if (!reader_out) {
LOG(ERROR) << "Failed mutable depended argument, op:"
<< "general_text_reader_op";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册