Skip to content

Commit 5974cc6

Browse files
Add kernels from the tensorflow_text to the tensorflow
PiperOrigin-RevId: 904066474
1 parent 589529c commit 5974cc6

179 files changed

Lines changed: 678 additions & 32364 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tensorflow_text/BUILD

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ load("//tensorflow_text:tftext.bzl", "extra_py_deps", "if_pywrap", "py_library",
55

66
# [internal] load build_test.bzl
77
load("//tools/build_defs/license:license.bzl", "license")
8+
load("//tools/build_defs/testing:bzl_library.bzl", "bzl_library")
89

910
# Visibility rules
1011
package(
1112
default_applicable_licenses = [":license"],
12-
default_visibility = ["//visibility:public"],
13+
default_visibility = [
14+
"//visibility:public",
15+
"@org_tensorflow//tensorflow/core/kernels/text:__subpackages__",
16+
],
1317
)
1418

1519
license(name = "license")
@@ -1728,3 +1732,18 @@ py_test(
17281732
"//tensorflow_text/core/pybinds:pybinds_library",
17291733
]),
17301734
)
1735+
1736+
bzl_library(
1737+
name = "tftext_bzl",
1738+
srcs = ["tftext.bzl"],
1739+
parse_tests = False,
1740+
visibility = ["//visibility:private"],
1741+
deps = [
1742+
"//devtools/build_cleaner/skylark:build_defs_lib",
1743+
"//third_party/bazel_rules/rules_python/python:py_library_bzl",
1744+
"//third_party/gpus/cuda:build_defs_bzl",
1745+
"//third_party/pybind11/google3_utils:build_defs_bzl",
1746+
"//third_party/tensorflow:tensorflow_bzl",
1747+
"@rules_cc//cc:core_rules",
1748+
],
1749+
)

0 commit comments

Comments
 (0)