Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609274709
  • Loading branch information
tensorflower-gardener committed Feb 22, 2024
1 parent 3803a34 commit 61c2825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorflow/compiler/tf2xla/layout_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Status RewriteLayoutWithShardedShape(

// There is a shape_representation_fn or sharding for an output, this function
// uses a reshape to fix the layout.
StatusOr<xla::XlaOp> ReshapeWithCorrectRepresentationAndSharding(
absl::StatusOr<xla::XlaOp> ReshapeWithCorrectRepresentationAndSharding(
xla::XlaBuilder* builder, xla::XlaOp original, xla::Shape original_shape,
XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
std::optional<xla::OpSharding> sharding, bool fast_mem) {
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/compiler/tf2xla/layout_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Status RewriteLayoutWithShardedShape(

// Adds reshapes to fix the layout of an output, if a shape_representation_fn or
// sharding is present.
StatusOr<xla::XlaOp> ReshapeWithCorrectRepresentationAndSharding(
absl::StatusOr<xla::XlaOp> ReshapeWithCorrectRepresentationAndSharding(
xla::XlaBuilder* builder, xla::XlaOp original, xla::Shape original_shape,
XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
std::optional<xla::OpSharding> sharding, bool fast_mem);
Expand Down

0 comments on commit 61c2825

Please sign in to comment.