pr to master #8

Open
m7grui4p8 wants to merge 201 commits from p69201753/mindspore:cpu-kernel-reuse-1 into master
1 changed files with 0 additions and 4 deletions
Showing only changes of commit 70722e491c - Show all commits

View File

@ -1185,10 +1185,6 @@ py::tuple RunOp(const py::args &args) {
std::ostringstream oss; std::ostringstream oss;
trace::TraceGraphEval(); trace::TraceGraphEval();
trace::GetEvalStackInfo(oss); trace::GetEvalStackInfo(oss);
// call py::print to output function call stack to STDOUT, in case of output the log to file, the user can see
// these info from screen, no need to open log file to find these info
py::print(oss.str());
MS_LOG(ERROR) << oss.str();
PynativeExecutor::GetInstance()->Clean(); PynativeExecutor::GetInstance()->Clean();
// re-throw this exception to Python interpreter to handle it // re-throw this exception to Python interpreter to handle it
throw(py::error_already_set(ex)); throw(py::error_already_set(ex));