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
|
licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//tensorflow:internal"])
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
py_binary(
name = "linear_regression",
srcs = ["linear_regression.py"],
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/eager/python:tfe",
],
)
cuda_py_test(
name = "linear_regression_test",
size = "small",
srcs = ["linear_regression_test.py"],
additional_deps = [
":linear_regression",
"//tensorflow:tensorflow_py",
],
tags = ["no_windows"], # TODO: needs investigation on Windows
)
cuda_py_test(
name = "linear_regression_graph_test",
size = "small",
srcs = ["linear_regression_graph_test.py"],
additional_deps = [
":linear_regression",
"//tensorflow:tensorflow_py",
],
)
|