aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/def_file_filter/BUILD.tpl
blob: 3cb72f49797d8014e4df3f44155c967ab0e2f9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Description:
# Tools for filtering DEF file for TensorFlow on Windows
#
# On Windows, we use a DEF file generated by Bazel to export
# symbols from the tensorflow dynamic library(_pywrap_tensorflow.dll).
# The maximum number of symbols that can be exported per DLL is 64K,
# so we have to filter some useless symbols through this python script.

package(default_visibility = ["//visibility:public"])

py_binary(
    name = "def_file_filter",
    srcs = ["def_file_filter.py"],
    srcs_version = "PY2AND3",
)