未验证 提交 5870976f 编写于 作者: Z Zhang Jun 提交者: GitHub

Update operator.cc

上级 581d9b1b
......@@ -1588,7 +1588,6 @@ void OperatorWithKernel::CheckWhetherPreparePhiData(
// different type with variable. The PhiKernelContext need be reconstructed.
// We use kernel_signature_'s output to retrieve tensor. Because the tensor
// in phi_kernel_context stored in the order of kernel_signature_'s output.
// if (phi_kernel_context->OutputsSize() >= phi_tensor_index ||
if (kernel_signature_ == nullptr) {
need_prepare_phi_data_ = true;
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册