Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/_api/v2/compat/v1/train/__init__.py: 100%
121 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
1# This file is MACHINE GENERATED! Do not edit.
2# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
3"""Support for training models.
5See the [Training](https://tensorflow.org/api_guides/python/train) guide.
7"""
9import sys as _sys
11from . import experimental
12from . import queue_runner
13from tensorflow.python.checkpoint.checkpoint import CheckpointV1 as Checkpoint
14from tensorflow.python.checkpoint.checkpoint_management import CheckpointManager
15from tensorflow.python.checkpoint.checkpoint_management import checkpoint_exists
16from tensorflow.python.checkpoint.checkpoint_management import generate_checkpoint_state_proto
17from tensorflow.python.checkpoint.checkpoint_management import get_checkpoint_mtimes
18from tensorflow.python.checkpoint.checkpoint_management import get_checkpoint_state
19from tensorflow.python.checkpoint.checkpoint_management import latest_checkpoint
20from tensorflow.python.checkpoint.checkpoint_management import remove_checkpoint
21from tensorflow.python.checkpoint.checkpoint_management import update_checkpoint_state
22from tensorflow.python.checkpoint.checkpoint_options import CheckpointOptions
23from tensorflow.python.eager.remote import ServerDef
24from tensorflow.python.framework.graph_io import write_graph
25from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import cosine_decay
26from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import cosine_decay_restarts
27from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import exponential_decay
28from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import inverse_time_decay
29from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import linear_cosine_decay
30from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import natural_exp_decay
31from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import noisy_linear_cosine_decay
32from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import piecewise_constant
33from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import piecewise_constant as piecewise_constant_decay
34from tensorflow.python.keras.optimizer_v2.legacy_learning_rate_decay import polynomial_decay
35from tensorflow.python.ops.gen_sdca_ops import sdca_fprint
36from tensorflow.python.ops.gen_sdca_ops import sdca_optimizer
37from tensorflow.python.ops.gen_sdca_ops import sdca_shrink_l1
38from tensorflow.python.summary.summary_iterator import summary_iterator
39from tensorflow.python.training.adadelta import AdadeltaOptimizer
40from tensorflow.python.training.adagrad import AdagradOptimizer
41from tensorflow.python.training.adagrad_da import AdagradDAOptimizer
42from tensorflow.python.training.adam import AdamOptimizer
43from tensorflow.python.training.basic_loops import basic_train_loop
44from tensorflow.python.training.basic_session_run_hooks import CheckpointSaverHook
45from tensorflow.python.training.basic_session_run_hooks import CheckpointSaverListener
46from tensorflow.python.training.basic_session_run_hooks import FeedFnHook
47from tensorflow.python.training.basic_session_run_hooks import FinalOpsHook
48from tensorflow.python.training.basic_session_run_hooks import GlobalStepWaiterHook
49from tensorflow.python.training.basic_session_run_hooks import LoggingTensorHook
50from tensorflow.python.training.basic_session_run_hooks import NanLossDuringTrainingError
51from tensorflow.python.training.basic_session_run_hooks import NanTensorHook
52from tensorflow.python.training.basic_session_run_hooks import ProfilerHook
53from tensorflow.python.training.basic_session_run_hooks import SecondOrStepTimer
54from tensorflow.python.training.basic_session_run_hooks import StepCounterHook
55from tensorflow.python.training.basic_session_run_hooks import StopAtStepHook
56from tensorflow.python.training.basic_session_run_hooks import SummarySaverHook
57from tensorflow.python.training.checkpoint_utils import checkpoints_iterator
58from tensorflow.python.training.checkpoint_utils import init_from_checkpoint
59from tensorflow.python.training.checkpoint_utils import list_variables
60from tensorflow.python.training.checkpoint_utils import load_checkpoint
61from tensorflow.python.training.checkpoint_utils import load_variable
62from tensorflow.python.training.coordinator import Coordinator
63from tensorflow.python.training.coordinator import LooperThread
64from tensorflow.python.training.device_setter import replica_device_setter
65from tensorflow.python.training.ftrl import FtrlOptimizer
66from tensorflow.python.training.gradient_descent import GradientDescentOptimizer
67from tensorflow.python.training.input import batch
68from tensorflow.python.training.input import batch_join
69from tensorflow.python.training.input import input_producer
70from tensorflow.python.training.input import limit_epochs
71from tensorflow.python.training.input import match_filenames_once
72from tensorflow.python.training.input import maybe_batch
73from tensorflow.python.training.input import maybe_batch_join
74from tensorflow.python.training.input import maybe_shuffle_batch
75from tensorflow.python.training.input import maybe_shuffle_batch_join
76from tensorflow.python.training.input import range_input_producer
77from tensorflow.python.training.input import shuffle_batch
78from tensorflow.python.training.input import shuffle_batch_join
79from tensorflow.python.training.input import slice_input_producer
80from tensorflow.python.training.input import string_input_producer
81from tensorflow.python.training.momentum import MomentumOptimizer
82from tensorflow.python.training.monitored_session import ChiefSessionCreator
83from tensorflow.python.training.monitored_session import MonitoredSession
84from tensorflow.python.training.monitored_session import MonitoredTrainingSession
85from tensorflow.python.training.monitored_session import Scaffold
86from tensorflow.python.training.monitored_session import SessionCreator
87from tensorflow.python.training.monitored_session import SingularMonitoredSession
88from tensorflow.python.training.monitored_session import WorkerSessionCreator
89from tensorflow.python.training.moving_averages import ExponentialMovingAverage
90from tensorflow.python.training.optimizer import Optimizer
91from tensorflow.python.training.proximal_adagrad import ProximalAdagradOptimizer
92from tensorflow.python.training.proximal_gradient_descent import ProximalGradientDescentOptimizer
93from tensorflow.python.training.py_checkpoint_reader import NewCheckpointReader
94from tensorflow.python.training.quantize_training import do_quantize_training_on_graphdef
95from tensorflow.python.training.queue_runner_impl import QueueRunner
96from tensorflow.python.training.queue_runner_impl import add_queue_runner
97from tensorflow.python.training.queue_runner_impl import start_queue_runners
98from tensorflow.python.training.rmsprop import RMSPropOptimizer
99from tensorflow.python.training.saver import Saver
100from tensorflow.python.training.saver import export_meta_graph
101from tensorflow.python.training.saver import import_meta_graph
102from tensorflow.python.training.server_lib import ClusterSpec
103from tensorflow.python.training.server_lib import Server
104from tensorflow.python.training.session_manager import SessionManager
105from tensorflow.python.training.session_run_hook import SessionRunArgs
106from tensorflow.python.training.session_run_hook import SessionRunContext
107from tensorflow.python.training.session_run_hook import SessionRunHook
108from tensorflow.python.training.session_run_hook import SessionRunValues
109from tensorflow.python.training.supervisor import Supervisor
110from tensorflow.python.training.sync_replicas_optimizer import SyncReplicasOptimizer
111from tensorflow.python.training.training import BytesList
112from tensorflow.python.training.training import ClusterDef
113from tensorflow.python.training.training import Example
114from tensorflow.python.training.training import Feature
115from tensorflow.python.training.training import FeatureList
116from tensorflow.python.training.training import FeatureLists
117from tensorflow.python.training.training import Features
118from tensorflow.python.training.training import FloatList
119from tensorflow.python.training.training import Int64List
120from tensorflow.python.training.training import JobDef
121from tensorflow.python.training.training import SaverDef
122from tensorflow.python.training.training import SequenceExample
123from tensorflow.python.training.training_util import assert_global_step
124from tensorflow.python.training.training_util import create_global_step
125from tensorflow.python.training.training_util import get_global_step
126from tensorflow.python.training.training_util import get_or_create_global_step
127from tensorflow.python.training.training_util import global_step
128from tensorflow.python.training.warm_starting_util import VocabInfo
129from tensorflow.python.training.warm_starting_util import warm_start