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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
# Description:
# Utilities for reading and writing object-based checkpoints.
package(
default_visibility = [
"//tensorflow:internal",
],
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "py_test")
py_library(
name = "base",
srcs = ["base.py"],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:array_ops",
"//tensorflow/python:constant_op",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:io_ops_gen",
"//tensorflow/python:platform",
"//tensorflow/python:saveable_object",
"//tensorflow/python:util",
"//tensorflow/python/eager:context",
],
)
py_test(
name = "base_test",
srcs = ["base_test.py"],
srcs_version = "PY2AND3",
deps = [
":base",
"//tensorflow/python:client_testlib",
],
)
py_library(
name = "tracking",
srcs = ["tracking.py"],
srcs_version = "PY2AND3",
deps = [
":base",
":data_structures",
],
)
py_test(
name = "tracking_test",
srcs = ["tracking_test.py"],
srcs_version = "PY2AND3",
deps = [
":base",
":tracking",
"//tensorflow/python:client_testlib",
],
)
py_library(
name = "layer_utils",
srcs = ["layer_utils.py"],
srcs_version = "PY2AND3",
)
py_library(
name = "data_structures",
srcs = ["data_structures.py"],
srcs_version = "PY2AND3",
deps = [
":base",
":layer_utils",
],
)
py_test(
name = "data_structures_test",
srcs = ["data_structures_test.py"],
srcs_version = "PY2AND3",
deps = [
":data_structures",
"//tensorflow/python:array_ops",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:layers",
"//tensorflow/python:math_ops",
"//tensorflow/python/eager:context",
"//tensorflow/python/eager:test",
"//tensorflow/python/keras:engine",
"//tensorflow/python/keras:layers",
],
)
py_library(
name = "util",
srcs = ["util.py"],
srcs_version = "PY2AND3",
deps = [
":base",
":tracking",
"//tensorflow/python:array_ops",
"//tensorflow/python:constant_op",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:dtypes",
"//tensorflow/python:io_ops_gen",
"//tensorflow/python:ops",
"//tensorflow/python:saveable_object",
"//tensorflow/python:util",
"//tensorflow/python/eager:context",
],
)
py_test(
name = "util_test",
srcs = ["util_test.py"],
srcs_version = "PY2AND3",
tags = [
"no_windows", # TODO: needs investigation on Windows
"notsan", # b/74395663
],
deps = [
":base",
":util",
"//tensorflow/python:constant_op",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:init_ops",
"//tensorflow/python:resource_variable_ops",
"//tensorflow/python:session",
"//tensorflow/python:state_ops",
"//tensorflow/python:template",
"//tensorflow/python:training",
"//tensorflow/python:training_util",
"//tensorflow/python:variable_scope",
"//tensorflow/python/eager:backprop",
"//tensorflow/python/eager:context",
"//tensorflow/python/eager:function",
"//tensorflow/python/eager:test",
"//tensorflow/python/keras:engine",
"//tensorflow/python/keras:layers",
"@six_archive//:six",
],
)
|