1# Description: 2# Contains ops for remote fused graph 3 4package(default_visibility = ["//tensorflow:__subpackages__"]) 5 6licenses(["notice"]) # Apache 2.0 7 8exports_files(["LICENSE"]) 9 10load("//tensorflow:tensorflow.bzl", "py_test") 11load("//tensorflow:tensorflow.bzl", "tf_gen_op_wrapper_py") 12 13tf_gen_op_wrapper_py( 14 name = "gen_remote_fused_graph_ops", 15 out = "python/ops/gen_remote_fused_graph_ops.py", 16 deps = [ 17 "//tensorflow/core:remote_fused_graph_ops_op_lib", 18 ], 19) 20 21py_library( 22 name = "remote_fused_graph_ops_py", 23 srcs = ["__init__.py"] + glob(["python/ops/*.py"]), 24 srcs_version = "PY2AND3", 25 deps = [ 26 ":gen_remote_fused_graph_ops", 27 "//tensorflow/core:protos_all_py", 28 "//tensorflow/python:framework_for_generated_wrappers", 29 "//tensorflow/python:framework_test_lib", 30 "//tensorflow/python:platform_test", 31 "//tensorflow/python:util", 32 "//third_party/py/numpy", 33 ], 34) 35 36py_test( 37 name = "remote_fused_graph_ops_test", 38 size = "small", 39 srcs = ["python/ops/remote_fused_graph_ops_test.py"], 40 srcs_version = "PY2AND3", 41 deps = [ 42 ":remote_fused_graph_ops_py", 43 "//tensorflow/core:protos_all_py", 44 "//tensorflow/python:framework_for_generated_wrappers", 45 "//tensorflow/python:framework_test_lib", 46 "//tensorflow/python:platform_test", 47 "//third_party/py/numpy", 48 ], 49) 50