Skip to content

Commit

Permalink
Cleanup: Fix includes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 729611238
  • Loading branch information
yangustc07 authored and tensorflower-gardener committed Feb 21, 2025
1 parent 62a501e commit 44dc41d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tensorflow/core/kernels/data/experimental/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ tf_kernel_library(
"//tensorflow/core:lib_internal",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core/data:name_utils",
"@com_google_absl//absl/strings",
],
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ limitations under the License.

#include <optional>

#include "absl/strings/str_join.h"
#include "tensorflow/core/data/name_utils.h"
#include "tensorflow/core/framework/dataset.h"
#include "tensorflow/core/framework/tensor.h"
Expand Down Expand Up @@ -330,7 +331,7 @@ class RebatchDatasetV2Op : public UnaryDatasetOpKernel {
output_types_(output_types),
output_shapes_(output_shapes),
traceme_metadata_(
{{"batch_sizes", absl::StrJoin(batch_sizes, ",")}}) {
{{"batch_sizes", absl::StrJoin(batch_sizes_, ",")}}) {
input_->Ref();
}

Expand Down

0 comments on commit 44dc41d

Please sign in to comment.