提交 fb8ae303 编写于 作者: X Xin Pan

fix

test=develop
上级 eaf8ba35
...@@ -919,7 +919,7 @@ Scope* OperatorWithKernel::PrepareData( ...@@ -919,7 +919,7 @@ Scope* OperatorWithKernel::PrepareData(
} }
auto* trans_var = new_scope->Var(var_name); auto* trans_var = new_scope->Var(var_name);
input_vars[i] = var; input_vars[i] = trans_var;
Tensor out; Tensor out;
TransformData(expected_kernel_key, kernel_type_for_var, *tensor_in, &out); TransformData(expected_kernel_key, kernel_type_for_var, *tensor_in, &out);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册