Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 680438926
  • Loading branch information
Google-ML-Automation committed Sep 30, 2024
1 parent 434298a commit a5d9916
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
4 changes: 4 additions & 0 deletions xla/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -913,10 +913,13 @@ cc_library(
"//xla/service:hlo_parser",
"//xla/tsl/lib/io:buffered_inputstream",
"//xla/tsl/lib/io:random_inputstream",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
"@tsl//tsl/platform:env",
"@tsl//tsl/platform:protobuf",
"@tsl//tsl/platform:statusor",
],
)

Expand Down Expand Up @@ -946,6 +949,7 @@ cc_library(
":status_macros",
":types",
":xla_data_proto_cc",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:span",
"@tsl//tsl/platform:env",
Expand Down
11 changes: 8 additions & 3 deletions xla/text_literal_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,26 @@ limitations under the License.
#include <utility>
#include <vector>

#include "absl/log/check.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "absl/strings/strip.h"
#include "xla/literal.h"
#include "xla/service/hlo_parser.h"
#include "xla/shape.h"
#include "xla/shape_util.h"
#include "xla/status_macros.h"
#include "xla/tsl/lib/io/buffered_inputstream.h"
#include "xla/tsl/lib/io/random_inputstream.h"
#include "xla/types.h"
#include "xla/util.h"
#include "xla/xla_data.pb.h"
#include "tsl/platform/protobuf.h"
#include "tsl/platform/env.h"
#include "tsl/platform/file_system.h"
#include "tsl/platform/statusor.h"

namespace xla {

Expand Down
1 change: 1 addition & 0 deletions xla/text_literal_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ limitations under the License.
#include "xla/types.h"
#include "xla/xla_data.pb.h"
#include "tsl/platform/env.h"
#include "tsl/platform/file_system.h"

namespace xla {

Expand Down
1 change: 0 additions & 1 deletion xla/text_literal_reader_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ limitations under the License.
#include "xla/literal.h"
#include "xla/shape_util.h"
#include "xla/test.h"
#include "xla/types.h"
#include "xla/xla_data.pb.h"
#include "tsl/platform/env.h"

Expand Down
5 changes: 3 additions & 2 deletions xla/text_literal_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ limitations under the License.
#include <memory>
#include <string>

#include "absl/status/status.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "xla/literal.h"
#include "xla/shape_util.h"
#include "xla/status_macros.h"
#include "xla/types.h"
#include "tsl/platform/env.h"
#include "tsl/platform/file_system.h"

namespace xla {

Expand Down
1 change: 1 addition & 0 deletions xla/text_literal_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ limitations under the License.
#ifndef XLA_TEXT_LITERAL_WRITER_H_
#define XLA_TEXT_LITERAL_WRITER_H_

#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "xla/literal.h"
#include "xla/types.h"
Expand Down
2 changes: 0 additions & 2 deletions xla/text_literal_writer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ limitations under the License.
#include <memory>
#include <string>

#include "xla/literal.h"
#include "xla/literal_util.h"
#include "xla/test.h"
#include "xla/test_helpers.h"
#include "xla/tsl/lib/core/status_test_util.h"
#include "xla/types.h"
#include "tsl/platform/env.h"

namespace xla {
Expand Down

0 comments on commit a5d9916

Please sign in to comment.