Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/python/debug/__init__.py: 100%
22 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# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ==============================================================================
15"""Public Python API of TensorFlow Debugger (tfdbg).
17See the [TFDBG](https://www.tensorflow.org/guide/debugger) guide.
19@@add_debug_tensor_watch
20@@watch_graph
21@@watch_graph_with_denylists
22@@DebugTensorDatum
23@@DebugDumpDir
24@@load_tensor_from_event
25@@load_tensor_from_event_file
26@@has_inf_or_nan
27@@DumpingDebugHook
28@@DumpingDebugWrapperSession
29@@GrpcDebugHook
30@@GrpcDebugWrapperSession
31@@LocalCLIDebugHook
32@@LocalCLIDebugWrapperSession
33@@TensorBoardDebugHook
34@@TensorBoardDebugWrapperSession
35@@WatchOptions
37@@reconstruct_non_debug_graph_def
39@@GradientsDebugger
40@@clear_gradient_debuggers
41"""
43# pylint: disable=unused-imports
44from tensorflow.python.debug.lib.debug_data import DebugDumpDir
45from tensorflow.python.debug.lib.debug_data import DebugTensorDatum
46from tensorflow.python.debug.lib.debug_data import has_inf_or_nan
47from tensorflow.python.debug.lib.debug_data import load_tensor_from_event
48from tensorflow.python.debug.lib.debug_data import load_tensor_from_event_file
50from tensorflow.python.debug.lib.debug_gradients import GradientsDebugger
52from tensorflow.python.debug.lib.debug_graphs import reconstruct_non_debug_graph_def
54from tensorflow.python.debug.lib.debug_utils import add_debug_tensor_watch
55from tensorflow.python.debug.lib.debug_utils import watch_graph
56from tensorflow.python.debug.lib.debug_utils import watch_graph_with_denylists
58from tensorflow.python.debug.wrappers.dumping_wrapper import DumpingDebugWrapperSession
59from tensorflow.python.debug.wrappers.framework import WatchOptions
60from tensorflow.python.debug.wrappers.grpc_wrapper import GrpcDebugWrapperSession
61from tensorflow.python.debug.wrappers.grpc_wrapper import TensorBoardDebugWrapperSession
62from tensorflow.python.debug.wrappers.hooks import DumpingDebugHook
63from tensorflow.python.debug.wrappers.hooks import GrpcDebugHook
64from tensorflow.python.debug.wrappers.hooks import LocalCLIDebugHook
65from tensorflow.python.debug.wrappers.hooks import TensorBoardDebugHook
66from tensorflow.python.debug.wrappers.local_cli_wrapper import LocalCLIDebugWrapperSession
68from tensorflow.python.util import all_util as _all_util
71_all_util.remove_undocumented(__name__)