Repository navigation
Expand file tree
/
Copy pathBUILD
More file actions
74 lines (65 loc) · 1.44 KB
/
Copy pathBUILD
File metadata and controls
74 lines (65 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Description:
# Python Client Code of the TensorFlow Debugger (tfdbg).
package(
default_visibility = ["//tensorflow:internal"],
features = [
"-layering_check",
"-parse_headers",
],
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
py_library(
name = "debug_data",
srcs = ["debug_data.py"],
srcs_version = "PY2AND3",
deps = [],
)
py_library(
name = "debug_utils",
srcs = ["debug_utils.py"],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:session",
],
)
py_test(
name = "debug_utils_test",
size = "small",
srcs = [
"debug_utils_test.py",
],
srcs_version = "PY2AND3",
deps = [
":debug_utils",
"//tensorflow/python:framework",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:session",
],
)
cuda_py_test(
name = "session_debug_test",
size = "small",
srcs = [
"session_debug_test.py",
],
additional_deps = [
":debug_data",
":debug_utils",
"//tensorflow/python:framework",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:session",
],
)
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
],
),
visibility = ["//tensorflow:__subpackages__"],
)