STT-tensorflow/tensorflow/python/dlpack/BUILD
A. Unique TensorFlower 034633f23b PY2 removal cleanup
PiperOrigin-RevId: 352106691
Change-Id: I382d53c64f0d29da430b8cb6d2395a2cb281509e
2021-01-15 16:48:57 -08:00

32 lines
700 B
Python

load("//tensorflow:tensorflow.bzl", "cuda_py_test")
package(
default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0
)
py_library(
name = "dlpack",
srcs = ["dlpack.py"],
srcs_version = "PY3",
visibility = ["//tensorflow:__subpackages__"],
deps = [
"//tensorflow/python:pywrap_tensorflow",
],
)
cuda_py_test(
name = "dlpack_test",
srcs = ["dlpack_test.py"],
srcs_version = "PY2AND3",
tags = [
"no_tfrt", # TODO(b/177356372)
],
deps = [
":dlpack",
"//tensorflow/python/eager:test",
"@absl_py//absl/testing:absltest",
"@absl_py//absl/testing:parameterized",
],
)