mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 03:00:42 -04:00
22 lines
1 KiB
Text
22 lines
1 KiB
Text
--- 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) {
|