Skip to content

Commit

Permalink
Remove tf/lite/kernels/shim:tf_headers from tf/core:framework
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 671251426
  • Loading branch information
pak-laura authored and tf-text-github-robot committed Sep 5, 2024
1 parent b3fe4d9 commit 9474dd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions tensorflow_text/core/kernels/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,6 @@ tf_cc_library(
"@com_google_absl//absl/types:span",
# lite/kernels/shim:op_kernel tensorflow dep,
# lite/kernels/shim:shape tensorflow dep,
# lite/kernels/shim:status_macros tensorflow dep,
# lite/kernels/shim:tensor_view tensorflow dep,
],
)
Expand Down Expand Up @@ -1186,7 +1185,6 @@ tf_cc_library(
"@com_google_absl//absl/status:statusor",
# lite/kernels/shim:op_kernel tensorflow dep,
# lite/kernels/shim:shape tensorflow dep,
# lite/kernels/shim:status_macros tensorflow dep,
# lite/kernels/shim:tensor_view tensorflow dep,
],
)
Expand Down
11 changes: 5 additions & 6 deletions tensorflow_text/core/ops/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ cc_test(
"byte_splitter_op_test.cc",
],
deps = [
# tf:framework tensorflow dep,
# tf:test tensorflow dep,
# tf:test_main tensorflow dep,
# tf/framework:shape_inference_testutil tensorflow dep,
# lite/kernels/shim:tf_op_shim tensorflow dep,
"//tensorflow_text/core/kernels:byte_splitter_kernel",
],
)
Expand All @@ -30,10 +30,10 @@ cc_test(
"boise_offset_converter_op_test.cc",
],
deps = [
# tf:framework tensorflow dep,
# tf:test tensorflow dep,
# tf:test_main tensorflow dep,
# tf/framework:shape_inference_testutil tensorflow dep,
# lite/kernels/shim:tf_op_shim tensorflow dep,
"//tensorflow_text/core/kernels:boise_offset_converter_kernel",
],
)
Expand All @@ -46,10 +46,10 @@ cc_test(
"fast_wordpiece_tokenizer_op_test.cc",
],
deps = [
# tf:framework tensorflow dep,
# tf:test tensorflow dep,
# tf:test_main tensorflow dep,
# tf/framework:shape_inference_testutil tensorflow dep,
# lite/kernels/shim:tf_op_shim tensorflow dep,
"//tensorflow_text/core/kernels:fast_wordpiece_tokenizer_kernel",
],
)
Expand All @@ -62,10 +62,10 @@ cc_test(
"sentence_fragmenter_v2_op_test.cc",
],
deps = [
# tf:framework tensorflow dep,
# tf:test tensorflow dep,
# tf:test_main tensorflow dep,
# tf/framework:shape_inference_testutil tensorflow dep,
# lite/kernels/shim:tf_op_shim tensorflow dep,
"//tensorflow_text/core/kernels:sentence_fragmenter_v2_kernel",
],
)
Expand All @@ -83,7 +83,6 @@ cc_test(
# tf:test_main tensorflow dep,
# tf/framework:shape_inference_testutil tensorflow dep,
# tf/framework:tensor_testutil tensorflow dep,
# lite/kernels/shim:tf_op_shim tensorflow dep,
"//tensorflow_text/core/kernels:round_robin_trimmer_kernel",
],
)
Expand All @@ -96,11 +95,11 @@ cc_test(
"utf8_binarize_op_test.cc",
],
deps = [
# tf:framework tensorflow dep,
# tf:protos_all_cc tensorflow dep,
# tf:test tensorflow dep,
# tf:test_main tensorflow dep,
# tf/framework:shape_inference_testutil tensorflow dep,
# lite/kernels/shim:tf_op_shim tensorflow dep,
"//tensorflow_text/core/kernels:utf8_binarize_kernel",
],
)

0 comments on commit 9474dd9

Please sign in to comment.