aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/kernel_tests/boosted_trees/BUILD
blob: 20446781f0ba8bb29b100469c52828571ca3c11e (plain)
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
# Description:
#   Kernel tests for Boosted Trees.

package(
    default_visibility = ["//tensorflow:internal"],
)

licenses(["notice"])  # Apache 2.0

load("//tensorflow:tensorflow.bzl", "tf_py_test")

filegroup(
    name = "all_files",
    srcs = glob(
        ["**/*"],
        exclude = [
            "**/METADATA",
            "**/OWNERS",
        ],
    ),
    visibility = ["//tensorflow:__subpackages__"],
)

tf_py_test(
    name = "resource_ops_test",
    size = "small",
    srcs = ["resource_ops_test.py"],
    additional_deps = [
        "//tensorflow/core/kernels/boosted_trees:boosted_trees_proto_py",
        "//tensorflow/python:boosted_trees_ops",
        "//tensorflow/python:framework_ops",
        "//tensorflow/python:framework_test_lib",
        "//tensorflow/python:resources",
        "//tensorflow/python:training",
        "//tensorflow/python:variables",
    ],
)

tf_py_test(
    name = "prediction_ops_test",
    size = "small",
    srcs = ["prediction_ops_test.py"],
    additional_deps = [
        "//tensorflow/core/kernels/boosted_trees:boosted_trees_proto_py",
        "//tensorflow/python:array_ops",
        "//tensorflow/python:boosted_trees_ops",
        "//tensorflow/python:framework_test_lib",
        "//tensorflow/python:constant_op",
        "//tensorflow/python:resources",
    ],
)

tf_py_test(
    name = "stats_ops_test",
    size = "medium",
    srcs = ["stats_ops_test.py"],
    additional_deps = [
        "//tensorflow/python:boosted_trees_ops",
        "//tensorflow/python:framework",
        "//tensorflow/python:framework_test_lib",
    ],
)

tf_py_test(
    name = "training_ops_test",
    size = "small",
    srcs = ["training_ops_test.py"],
    additional_deps = [
        "//tensorflow/core/kernels/boosted_trees:boosted_trees_proto_py",
        "//tensorflow/python:array_ops",
        "//tensorflow/python:boosted_trees_ops",
        "//tensorflow/python:constant_op",
        "//tensorflow/python:framework_test_lib",
        "//tensorflow/python:resources",
    ],
)

tf_py_test(
    name = "quantile_ops_test",
    size = "small",
    srcs = ["quantile_ops_test.py"],
    additional_deps = [
        "//tensorflow/core/kernels/boosted_trees:boosted_trees_proto_py",
        "//tensorflow/python:boosted_trees_ops",
        "//tensorflow/python:constant_op",
        "//tensorflow/python:framework_test_lib",
        "//tensorflow/python:resources",
    ],
)