From 2f96218a92148562a76f20917f18a31f9e320ee4 Mon Sep 17 00:00:00 2001 From: Vlad Sytchenko Date: Tue, 8 Jul 2025 12:42:48 -0700 Subject: [PATCH] [XLA] Remove dead argument in ProtoToHumanReadableJson PiperOrigin-RevId: 780674330 --- tsl/platform/human_readable_json.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tsl/platform/human_readable_json.h b/tsl/platform/human_readable_json.h index 3fedff063..067303d1d 100644 --- a/tsl/platform/human_readable_json.h +++ b/tsl/platform/human_readable_json.h @@ -30,13 +30,10 @@ namespace tsl { // // This string may not be strictly JSON-compliant, but it must be parsable by // HumanReadableJSONToProto. -// -// When ignore_accuracy_loss = true, this function may ignore JavaScript -// accuracy loss with large integers. absl::StatusOr ProtoToHumanReadableJson( - const protobuf::Message& proto, bool ignore_accuracy_loss); + const protobuf::Message& proto); absl::StatusOr ProtoToHumanReadableJson( - const protobuf::MessageLite& proto, bool ignore_accuracy_loss); + const protobuf::MessageLite& proto); // Converts a string produced by ProtoToHumanReadableJSON to a protobuf. Not // guaranteed to work for general JSON.