STT-tensorflow/tensorflow/python/ops/linalg/sparse/BUILD
Penporn Koanantakool eedbcd1ebd Move CSRSparseMatrix tests to linalg/sparse. Make file names consistent.
PiperOrigin-RevId: 280097036
Change-Id: I4578cacb876f3d27bb860c3794b685f2bc26da03
2019-11-12 18:06:01 -08:00

36 lines
962 B
Python

# Description: Sparse CSR support for TensorFlow.
load("//tensorflow:tensorflow.bzl", "tf_gen_op_wrapper_py")
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
tf_gen_op_wrapper_py(
name = "gen_sparse_csr_matrix_ops",
out = "gen_sparse_csr_matrix_ops.py",
api_def_srcs = ["//tensorflow/core/api_def:base_api_def"],
visibility = [
"//learning/brain/python/ops:__pkg__",
"//tensorflow/compiler/tests:__pkg__",
"//tensorflow/python/kernel_tests/linalg/sparse:__pkg__",
],
deps = ["//tensorflow/core:sparse_csr_matrix_ops_op_lib"],
)
py_library(
name = "sparse",
srcs = [
"__init__.py",
"conjugate_gradient.py",
"sparse.py",
"sparse_csr_matrix_grad.py",
"sparse_csr_matrix_ops.py",
],
srcs_version = "PY2AND3",
deps = [
":gen_sparse_csr_matrix_ops",
"//third_party/py/numpy",
],
)