Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675030897
  • Loading branch information
Google-ML-Automation committed Sep 16, 2024
1 parent 754aee5 commit e80c23e
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 3 deletions.
5 changes: 4 additions & 1 deletion xla/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ xla_cc_test(
":shape_util",
":test",
":xla_data_proto_cc",
"@com_google_absl//absl/types:span",
"@tsl//tsl/platform:test_main",
],
)
Expand Down Expand Up @@ -639,6 +640,7 @@ xla_cc_test(
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:span",
"@com_google_googletest//:gtest_main",
"@tsl//tsl/platform:errors",
"@tsl//tsl/platform:logging",
"@tsl//tsl/platform:macros",
Expand Down Expand Up @@ -692,6 +694,7 @@ xla_cc_test(
":literal_comparison",
":literal_util",
":test_helpers",
":xla_data_proto_cc",
"//xla/tsl/lib/core:status_test_util",
"@com_google_googletest//:gtest_main",
"@tsl//tsl/platform:ml_dtypes",
Expand Down Expand Up @@ -720,7 +723,6 @@ cc_library(
"@eigen_archive//:eigen3",
"@tsl//tsl/platform:errors",
"@tsl//tsl/platform:logging",
"@tsl//tsl/platform:ml_dtypes",
],
)

Expand All @@ -730,6 +732,7 @@ cc_library(
hdrs = ["metric_table_report.h"],
visibility = ["//visibility:public"],
deps = [
"@com_google_absl//absl/algorithm:container",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
Expand Down
3 changes: 2 additions & 1 deletion xla/index_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ limitations under the License.
#include <string>
#include <vector>

#include "absl/strings/str_join.h"
#include "absl/types/span.h"
#include "xla/layout_util.h"
#include "xla/shape.h"
#include "xla/shape_util.h"
#include "xla/util.h"
Expand Down
4 changes: 4 additions & 0 deletions xla/index_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ limitations under the License.

#include <vector>

#include "absl/log/check.h"
#include "absl/strings/str_join.h"
#include "absl/types/span.h"
#include "xla/layout_util.h"
#include "xla/shape.h"
#include "xla/shape_util.h"
#include "xla/types.h"
#include "xla/util.h"
#include "xla/xla_data.pb.h"

namespace xla {
Expand Down
2 changes: 2 additions & 0 deletions xla/index_util_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ limitations under the License.
#include <initializer_list>
#include <vector>

#include "absl/types/span.h"
#include "xla/shape.h"
#include "xla/shape_util.h"
#include "xla/test.h"
#include "xla/xla_data.pb.h"
Expand Down
1 change: 1 addition & 0 deletions xla/layout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
#include <string>
#include <utility>

#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
Expand Down
1 change: 0 additions & 1 deletion xla/literal_comparison.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ limitations under the License.
#include "xla/xla_data.pb.h"
#include "tsl/platform/errors.h"
#include "tsl/platform/logging.h" // IWYU pragma: keep
#include "tsl/platform/ml_dtypes.h"

using absl::StrAppend;
using absl::StrAppendFormat;
Expand Down
1 change: 1 addition & 0 deletions xla/literal_comparison_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ limitations under the License.
#include "xla/literal_util.h"
#include "xla/test_helpers.h"
#include "xla/tsl/lib/core/status_test_util.h"
#include "xla/xla_data.pb.h"
#include "tsl/platform/ml_dtypes.h"

namespace xla {
Expand Down
1 change: 1 addition & 0 deletions xla/literal_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ limitations under the License.
#include <utility>
#include <vector>

#include <gtest/gtest.h>
#include "absl/base/casts.h"
#include "absl/hash/hash.h"
#include "absl/random/random.h"
Expand Down
2 changes: 2 additions & 0 deletions xla/metric_table_report.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ limitations under the License.
#include <utility>
#include <vector>

#include "absl/algorithm/container.h"
#include "absl/container/flat_hash_map.h"
#include "absl/strings/ascii.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include "tsl/platform/logging.h"

namespace xla {
Expand Down

0 comments on commit e80c23e

Please sign in to comment.