summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-protobuf
blob: de3cd9510b535ecb2df096fe8a673654e5720646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- tensorflow/core/kernels/example_parsing_ops.cc.orig	2021-01-04 20:18:42 UTC
+++ tensorflow/core/kernels/example_parsing_ops.cc
@@ -859,7 +859,7 @@ class DecodeJSONExampleOp : public OpKernel {
           json_example, &binary_examples->flat<string>()(i));
       OP_REQUIRES(ctx, status.ok(),
                   errors::InvalidArgument("Error while parsing JSON: ",
-                                          string(status.error_message())));
+                                          string(status.message())));
     }
   }
 
--- tensorflow/core/profiler/rpc/client/dump_tpu_profile.cc.orig	2021-01-04 20:18:42 UTC
+++ tensorflow/core/profiler/rpc/client/dump_tpu_profile.cc
@@ -102,7 +102,7 @@ Status DumpOpProfileToLogDirectory(StringPiece run_dir
   if (!status.ok()) {
     return errors::Internal(
         "Failed to convert op profile to json. Skipping... ",
-        string(status.error_message()));
+        string(status.message()));
   }
   TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json));
   if (os) {