parent
ec6df8e4fb
commit
5dd912f2d7
@ -98,7 +98,7 @@ Status DumpOpProfileToLogDirectory(StringPiece run_dir,
|
||||
if (!status.ok()) {
|
||||
return errors::Internal(
|
||||
"Failed to convert op profile to json. Skipping... ",
|
||||
string(status.message()));
|
||||
string(status.error_message()));
|
||||
}
|
||||
TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json));
|
||||
if (os) {
|
||||
|
Loading…
Reference in New Issue
Block a user