STT-tensorflow/tensorflow/contrib/framework/BUILD
A. Unique TensorFlower 025e65591e Add a new hashed embedding column
Change: 126254010
2016-06-29 18:04:01 -07:00

103 lines
2.5 KiB
Python

# Description:
# contains parts of TensorFlow that are experimental or unstable and which are not supported.
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
package(default_visibility = ["//tensorflow:__subpackages__"])
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
py_library(
name = "framework_py",
srcs = [
"__init__.py",
"python/framework/__init__.py",
"python/framework/deprecation.py",
"python/framework/tensor_util.py",
"python/ops/__init__.py",
"python/ops/arg_scope.py",
"python/ops/embedding_ops.py",
"python/ops/ops.py",
"python/ops/sampling_ops.py",
"python/ops/variables.py",
],
srcs_version = "PY2AND3",
)
py_test(
name = "arg_scope_test",
size = "small",
srcs = ["python/ops/arg_scope_test.py"],
srcs_version = "PY2AND3",
deps = [
":framework_py",
"//tensorflow:tensorflow_py",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
],
)
py_test(
name = "ops_test",
size = "small",
srcs = glob(["python/ops/ops_test.py"]),
srcs_version = "PY2AND3",
deps = [
":framework_py",
"//tensorflow:tensorflow_py",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
],
)
py_test(
name = "tensor_util_test",
srcs = glob(["python/framework/tensor_util_test.py"]),
srcs_version = "PY2AND3",
deps = [
":framework_py",
"//tensorflow:tensorflow_py",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
],
)
py_test(
name = "variables_test",
size = "small",
srcs = glob(["python/ops/variables_test.py"]),
srcs_version = "PY2AND3",
deps = [
":framework_py",
"//tensorflow:tensorflow_py",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
],
)
cuda_py_test(
name = "sampling_ops_test",
size = "small",
srcs = ["python/ops/sampling_ops_test.py"],
additional_deps = [
":framework_py",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
"//tensorflow/python:training",
],
)
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
],
),
visibility = ["//tensorflow:__subpackages__"],
)