Repository navigation
Expand file tree
/
Copy pathBUILD
More file actions
117 lines (108 loc) · 2.69 KB
/
Copy pathBUILD
File metadata and controls
117 lines (108 loc) · 2.69 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
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
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
package(
default_visibility = [
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
py_library(
name = "numpy",
srcs = [
"__init__.py",
"np_array_ops.py",
"np_arrays.py",
"np_dtypes.py",
"np_math_ops.py",
"np_random.py",
"np_utils.py",
],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
deps = [
"//tensorflow/python:array_ops",
"//tensorflow/python:bitwise_ops",
"//tensorflow/python:constant_op",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:dtypes",
"//tensorflow/python:errors",
"//tensorflow/python:framework_ops",
"//tensorflow/python:indexed_slices",
"//tensorflow/python:linalg_ops",
"//tensorflow/python:manip_ops",
"//tensorflow/python:math_ops",
"//tensorflow/python:sort_ops",
"//tensorflow/python:tensor_util",
"//tensorflow/python:util",
"//third_party/py/numpy",
],
)
cuda_py_test(
name = "np_arrays_test",
srcs = ["np_arrays_test.py"],
deps = [
":numpy",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:math_ops",
"//tensorflow/python:platform",
"//third_party/py/numpy",
"@absl_py//absl/testing:parameterized",
],
)
cuda_py_test(
name = "np_array_ops_test",
srcs = ["np_array_ops_test.py"],
deps = [
":numpy",
"//tensorflow/python:platform",
"//third_party/py/numpy",
"@six_archive//:six",
],
)
cuda_py_test(
name = "np_logic_test",
srcs = ["np_logic_test.py"],
deps = [
":numpy",
"//third_party/py/numpy",
],
)
cuda_py_test(
name = "np_math_ops_test",
srcs = ["np_math_ops_test.py"],
deps = [
":numpy",
"//tensorflow/python:platform",
"//third_party/py/numpy",
"@absl_py//absl/testing:parameterized",
],
)
cuda_py_test(
name = "np_random_test",
srcs = ["np_random_test.py"],
deps = [
":numpy",
"//tensorflow/python:platform",
"//third_party/py/numpy",
"@absl_py//absl/testing:parameterized",
"@six_archive//:six",
],
)
cuda_py_test(
name = "np_utils_test",
srcs = ["np_utils_test.py"],
deps = [
":numpy",
"//tensorflow/python:platform",
"@absl_py//absl/testing:parameterized",
],
)
cuda_py_test(
name = "np_interop_test",
srcs = ["np_interop_test.py"],
deps = [
":numpy",
"//tensorflow:tensorflow_py",
"//third_party/py/numpy",
],
)