Fix broken links for unsealed contrib API guides
contrib.learn.monitors will not have an API guide, since it is deprecated and unsealed. Fixes sealing for tf.contrib.training. Change: 147424947
This commit is contained in:
parent
b71f11361e
commit
582fc4a3bc
tensorflow
@ -23,6 +23,13 @@
|
||||
@@weighted_resample
|
||||
@@bucket
|
||||
@@bucket_by_sequence_length
|
||||
@@GreedyLoadBalancingStrategy
|
||||
@@byte_size_load_fn
|
||||
@@FailureTolerator
|
||||
@@rejection_sample
|
||||
@@stratified_sample
|
||||
@@resample_at_rate
|
||||
@@weighted_resample
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
@ -49,7 +56,16 @@ from tensorflow.contrib.training.python.training.training import clip_gradient_n
|
||||
from tensorflow.contrib.training.python.training.training import create_train_op
|
||||
from tensorflow.contrib.training.python.training.training import multiply_gradients
|
||||
from tensorflow.contrib.training.python.training.training import train
|
||||
from tensorflow.python.util.all_util import make_all
|
||||
# pylint: enable=unused-import,wildcard-import
|
||||
|
||||
__all__ = make_all(__name__)
|
||||
from tensorflow.python.util.all_util import remove_undocumented
|
||||
|
||||
# Allow explicitly imported symbols. Symbols imported with * must also be
|
||||
# whitelisted here or in the module docstring above.
|
||||
_allowed_symbols = [
|
||||
'checkpoints_iterator', 'evaluate_once', 'evaluate_repeatedly',
|
||||
'get_or_create_eval_step', 'StopAfterNEvalsHook', 'SummaryAtEndHook',
|
||||
'wait_for_new_checkpoint', 'add_gradients_summaries', 'clip_gradient_norms',
|
||||
'create_train_op', 'multiply_gradients', 'train']
|
||||
|
||||
remove_undocumented(__name__, _allowed_symbols)
|
||||
|
@ -138,6 +138,10 @@ sh_test(
|
||||
"//tensorflow/core:all_files",
|
||||
"//tensorflow/python:all_files",
|
||||
],
|
||||
tags = [
|
||||
"manual",
|
||||
"notap",
|
||||
],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
|
@ -145,7 +145,6 @@ def extract():
|
||||
'tensorboard',
|
||||
'testing',
|
||||
'tfprof',
|
||||
'training',
|
||||
],
|
||||
'contrib.bayesflow': [
|
||||
'entropy', 'monte_carlo',
|
||||
|
Loading…
Reference in New Issue
Block a user