1 # Description: TensorFlow Serving session_bundle example. 2 3 package( 4 default_visibility = ["//tensorflow/contrib/session_bundle:__subpackages__"], 5 ) 6 7 licenses(["notice"]) # Apache 2.0 8 9 exports_files(["LICENSE"]) 10 11 # vardef("PYTHON_BIN_PATH", "/usr/bin/python") 12 13 filegroup( 14 name = "all_files", 15 srcs = glob( 16 ["**/*"], 17 exclude = [ 18 "**/METADATA", 19 "**/OWNERS", 20 "g3doc/sitemap.md", 21 ], 22 ), 23 visibility = ["//visibility:public"], 24 ) 25 26 py_binary( 27 name = "export_half_plus_two", 28 srcs = [ 29 "export_half_plus_two.py", 30 ], 31 srcs_version = "PY2AND3", 32 deps = [ 33 "//tensorflow:tensorflow_py", 34 "//tensorflow/contrib/session_bundle:exporter", 35 ], 36 ) 37