remove useless code

This commit is contained in:
buxue 2020-09-24 14:41:44 +08:00
parent 6fd4848a63
commit a9da8e02a2
1 changed files with 0 additions and 4 deletions

View File

@ -1181,10 +1181,6 @@ py::tuple RunOp(const py::args &args) {
try {
return PynativeExecutor::GetInstance()->RunOpInner(args);
} catch (const py::error_already_set &ex) {
// print function call stack info before release
std::ostringstream oss;
trace::TraceGraphEval();
trace::GetEvalStackInfo(oss);
PynativeExecutor::GetInstance()->Clean();
// re-throw this exception to Python interpreter to handle it
throw(py::error_already_set(ex));