1package(
2    default_visibility = ["//tensorflow:internal"],
3    licenses = ["notice"],  # Apache 2.0
4)
5
6py_library(
7    name = "linalg",
8    srcs = glob(["*.py"]),
9    srcs_version = "PY3",
10    deps = [
11        ":linalg_impl",
12        "//tensorflow/python:check_ops",
13        "//tensorflow/python:control_flow_ops",
14        "//tensorflow/python:framework_for_generated_wrappers",
15        "//tensorflow/python:nn",
16        "//tensorflow/python:nn_ops",
17        "//tensorflow/python:random_ops",
18        "//tensorflow/python:tensor_util",
19        "//tensorflow/python:util",
20        "//tensorflow/python/ops/signal",
21        "//third_party/py/numpy",
22        "@six_archive//:six",
23    ],
24)
25
26py_library(
27    name = "linalg_impl",
28    srcs = ["linalg_impl.py"],
29    srcs_version = "PY3",
30    deps = [
31        ":linear_operator_util",
32        "//tensorflow/python:array_ops",
33        "//tensorflow/python:control_flow_ops",
34        "//tensorflow/python:linalg_ops",
35        "//tensorflow/python:math_ops",
36        "//tensorflow/python:special_math_ops",
37    ],
38)
39
40py_library(
41    name = "linear_operator_util",
42    srcs = ["linear_operator_util.py"],
43    srcs_version = "PY3",
44    deps = [
45        "//tensorflow/python:array_ops",
46        "//tensorflow/python:check_ops",
47        "//tensorflow/python:control_flow_ops",
48        "//tensorflow/python:linalg_ops",
49        "//tensorflow/python:math_ops",
50        "//tensorflow/python:variables",
51        "//tensorflow/python/module",
52    ],
53)
54