Internal Change.

PiperOrigin-RevId: 209637025
This commit is contained in:
Michael Case 2018-08-21 12:09:06 -07:00 committed by TensorFlower Gardener
parent 81d90de884
commit 041b02c3b4
4 changed files with 5 additions and 5 deletions

View File

@ -143,6 +143,7 @@ py_library(
"//tensorflow/python/profiler",
"//tensorflow/python/saved_model",
"//tensorflow/python/tools:component_api_helper",
"//tensorflow/python/tools/api/generator:create_python_api",
"//third_party/py/numpy",
],
)

View File

@ -14,14 +14,13 @@ exports_files(
],
)
py_binary(
py_library(
name = "create_python_api",
srcs = ["//tensorflow/python/tools/api/generator:create_python_api.py"],
main = "//tensorflow/python/tools/api/generator:create_python_api.py",
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
deps = [
"//tensorflow/python:no_contrib",
"//tensorflow/python:util",
"//tensorflow/python/tools/api/generator:doc_srcs",
],
)

View File

@ -32,7 +32,7 @@ from tensorflow.python.training import saver
from tensorflow.python.util.tf_export import tf_export
@tf_export("train.VocabInfo", allow_multiple_exports=True)
@tf_export("train.VocabInfo")
class VocabInfo(
collections.namedtuple("VocabInfo", [
"new_vocab",

View File

@ -213,4 +213,4 @@ class api_export(object): # pylint: disable=invalid-name
tf_export = functools.partial(api_export, api_name=TENSORFLOW_API_NAME)
estimator_export = functools.partial(tf_export, api_name=ESTIMATOR_API_NAME)
estimator_export = functools.partial(api_export, api_name=ESTIMATOR_API_NAME)