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: 668152477
  • Loading branch information
pak-laura authored and tf-text-github-robot committed Aug 27, 2024
1 parent ac941c2 commit b3fe4d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions tensorflow_text/core/kernels/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ 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 @@ -1185,6 +1186,7 @@ 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: 6 additions & 5 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,6 +83,7 @@ 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 @@ -95,11 +96,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 b3fe4d9

Please sign in to comment.