Import tensorflow

This commit is contained in:
2026-02-15 21:45:42 -08:00
parent f3e8b90764
commit c530630153
20524 changed files with 9017694 additions and 25 deletions
@@ -0,0 +1,496 @@
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""
Top-level module of TensorFlow. By convention, we refer to this module as
`tf` instead of `tensorflow`, following the common practice of importing
TensorFlow via the command `import tensorflow as tf`.
The primary function of this module is to import all of the public TensorFlow
interfaces into a single place. The interfaces themselves are located in
sub-modules, as described below.
Note that the file `__init__.py` in the TensorFlow source code tree is actually
only a placeholder to enable test cases to run. The TensorFlow build replaces
this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py)
"""
# pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
import sysconfig as _sysconfig
import importlib
import inspect as _inspect
import os as _os
import site as _site
import sys as _sys
_os.environ.setdefault("ENABLE_RUNTIME_UPTIME_TELEMETRY", "1")
# Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow # pylint: disable=unused-import
from tensorflow.python.tools import module_util as _module_util
from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
# Make sure code inside the TensorFlow codebase can use tf2.enabled() at import.
_os.environ["TF2_BEHAVIOR"] = "1"
from tensorflow.python import tf2 as _tf2
_tf2.enable()
from tensorflow._api.v2 import __internal__
from tensorflow._api.v2 import __operators__
from tensorflow._api.v2 import audio
from tensorflow._api.v2 import autodiff
from tensorflow._api.v2 import autograph
from tensorflow._api.v2 import bitwise
from tensorflow._api.v2 import compat
from tensorflow._api.v2 import config
from tensorflow._api.v2 import data
from tensorflow._api.v2 import debugging
from tensorflow._api.v2 import distribute
from tensorflow._api.v2 import dtypes
from tensorflow._api.v2 import errors
from tensorflow._api.v2 import experimental
from tensorflow._api.v2 import feature_column
from tensorflow._api.v2 import graph_util
from tensorflow._api.v2 import image
from tensorflow._api.v2 import io
from tensorflow._api.v2 import linalg
from tensorflow._api.v2 import lite
from tensorflow._api.v2 import lookup
from tensorflow._api.v2 import math
from tensorflow._api.v2 import mlir
from tensorflow._api.v2 import nest
from tensorflow._api.v2 import nn
from tensorflow._api.v2 import profiler
from tensorflow._api.v2 import quantization
from tensorflow._api.v2 import queue
from tensorflow._api.v2 import ragged
from tensorflow._api.v2 import random
from tensorflow._api.v2 import raw_ops
from tensorflow._api.v2 import saved_model
from tensorflow._api.v2 import sets
from tensorflow._api.v2 import signal
from tensorflow._api.v2 import sparse
from tensorflow._api.v2 import strings
from tensorflow._api.v2 import summary
from tensorflow._api.v2 import sysconfig
from tensorflow._api.v2 import test
from tensorflow._api.v2 import tpu
from tensorflow._api.v2 import train
from tensorflow._api.v2 import types
from tensorflow._api.v2 import version
from tensorflow._api.v2 import xla
from tensorflow.python.ops.gen_array_ops import bitcast # line: 558
from tensorflow.python.ops.gen_array_ops import broadcast_to # line: 829
from tensorflow.python.ops.gen_array_ops import extract_volume_patches # line: 2569
from tensorflow.python.ops.gen_array_ops import identity_n # line: 4268
from tensorflow.python.ops.gen_array_ops import reverse_v2 as reverse # line: 9182
from tensorflow.python.ops.gen_array_ops import scatter_nd # line: 9318
from tensorflow.python.ops.gen_array_ops import space_to_batch_nd # line: 10152
from tensorflow.python.ops.gen_array_ops import tensor_scatter_add as tensor_scatter_nd_add # line: 11302
from tensorflow.python.ops.gen_array_ops import tensor_scatter_max as tensor_scatter_nd_max # line: 11480
from tensorflow.python.ops.gen_array_ops import tensor_scatter_min as tensor_scatter_nd_min # line: 11601
from tensorflow.python.ops.gen_array_ops import tensor_scatter_sub as tensor_scatter_nd_sub # line: 11711
from tensorflow.python.ops.gen_array_ops import tile # line: 12133
from tensorflow.python.ops.gen_array_ops import unravel_index # line: 12894
from tensorflow.python.ops.gen_control_flow_ops import no_op # line: 475
from tensorflow.python.ops.gen_data_flow_ops import dynamic_partition # line: 594
from tensorflow.python.ops.gen_data_flow_ops import dynamic_stitch # line: 736
from tensorflow.python.ops.gen_experimental_dataset_ops import check_pinned # line: 701
from tensorflow.python.ops.gen_linalg_ops import matrix_square_root # line: 1913
from tensorflow.python.ops.gen_logging_ops import timestamp # line: 886
from tensorflow.python.ops.gen_math_ops import acosh # line: 231
from tensorflow.python.ops.gen_math_ops import asin # line: 991
from tensorflow.python.ops.gen_math_ops import asinh # line: 1091
from tensorflow.python.ops.gen_math_ops import atan # line: 1184
from tensorflow.python.ops.gen_math_ops import atan2 # line: 1284
from tensorflow.python.ops.gen_math_ops import atanh # line: 1383
from tensorflow.python.ops.gen_math_ops import cos # line: 2521
from tensorflow.python.ops.gen_math_ops import cosh # line: 2615
from tensorflow.python.ops.gen_math_ops import greater # line: 4243
from tensorflow.python.ops.gen_math_ops import greater_equal # line: 4344
from tensorflow.python.ops.gen_math_ops import less # line: 5280
from tensorflow.python.ops.gen_math_ops import less_equal # line: 5381
from tensorflow.python.ops.gen_math_ops import logical_and # line: 5836
from tensorflow.python.ops.gen_math_ops import logical_not # line: 5975
from tensorflow.python.ops.gen_math_ops import logical_or # line: 6062
from tensorflow.python.ops.gen_math_ops import maximum # line: 6383
from tensorflow.python.ops.gen_math_ops import minimum # line: 6639
from tensorflow.python.ops.gen_math_ops import neg as negative # line: 6986
from tensorflow.python.ops.gen_math_ops import real_div as realdiv # line: 8141
from tensorflow.python.ops.gen_math_ops import sin # line: 10372
from tensorflow.python.ops.gen_math_ops import sinh # line: 10465
from tensorflow.python.ops.gen_math_ops import square # line: 12035
from tensorflow.python.ops.gen_math_ops import tan # line: 12425
from tensorflow.python.ops.gen_math_ops import tanh # line: 12519
from tensorflow.python.ops.gen_math_ops import truncate_div as truncatediv # line: 12674
from tensorflow.python.ops.gen_math_ops import truncate_mod as truncatemod # line: 12768
from tensorflow.python.ops.gen_nn_ops import approx_top_k # line: 33
from tensorflow.python.ops.gen_nn_ops import conv # line: 1061
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_filter_v2 # line: 1609
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_input_v2 # line: 1977
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows # line: 196
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows_grad # line: 305
from tensorflow.python.ops.gen_random_index_shuffle_ops import random_index_shuffle # line: 30
from tensorflow.python.ops.gen_spectral_ops import fftnd # line: 620
from tensorflow.python.ops.gen_spectral_ops import ifftnd # line: 991
from tensorflow.python.ops.gen_spectral_ops import irfftnd # line: 1347
from tensorflow.python.ops.gen_spectral_ops import rfftnd # line: 1707
from tensorflow.python.ops.gen_string_ops import as_string # line: 29
from tensorflow.python.data.ops.optional_ops import OptionalSpec # line: 205
from tensorflow.python.eager.backprop import GradientTape # line: 704
from tensorflow.python.eager.context import executing_eagerly # line: 2575
from tensorflow.python.eager.polymorphic_function.polymorphic_function import function # line: 1305
from tensorflow.python.framework.constant_op import constant # line: 177
from tensorflow.python.framework.device_spec import DeviceSpecV2 as DeviceSpec # line: 46
from tensorflow.python.framework.dtypes import DType # line: 51
from tensorflow.python.framework.dtypes import as_dtype # line: 863
from tensorflow.python.framework.dtypes import bfloat16 # line: 420
from tensorflow.python.framework.dtypes import bool # line: 394
from tensorflow.python.framework.dtypes import complex128 # line: 382
from tensorflow.python.framework.dtypes import complex64 # line: 376
from tensorflow.python.framework.dtypes import double # line: 372
from tensorflow.python.framework.dtypes import float16 # line: 357
from tensorflow.python.framework.dtypes import float32 # line: 364
from tensorflow.python.framework.dtypes import float64 # line: 370
from tensorflow.python.framework.dtypes import half # line: 358
from tensorflow.python.framework.dtypes import int16 # line: 342
from tensorflow.python.framework.dtypes import int32 # line: 346
from tensorflow.python.framework.dtypes import int64 # line: 350
from tensorflow.python.framework.dtypes import int8 # line: 338
from tensorflow.python.framework.dtypes import qint16 # line: 402
from tensorflow.python.framework.dtypes import qint32 # line: 406
from tensorflow.python.framework.dtypes import qint8 # line: 398
from tensorflow.python.framework.dtypes import quint16 # line: 414
from tensorflow.python.framework.dtypes import quint8 # line: 410
from tensorflow.python.framework.dtypes import resource # line: 312
from tensorflow.python.framework.dtypes import string # line: 390
from tensorflow.python.framework.dtypes import uint16 # line: 326
from tensorflow.python.framework.dtypes import uint32 # line: 330
from tensorflow.python.framework.dtypes import uint64 # line: 334
from tensorflow.python.framework.dtypes import uint8 # line: 322
from tensorflow.python.framework.dtypes import variant # line: 318
from tensorflow.python.framework.importer import import_graph_def # line: 358
from tensorflow.python.framework.indexed_slices import IndexedSlices # line: 54
from tensorflow.python.framework.indexed_slices import IndexedSlicesSpec # line: 203
from tensorflow.python.framework.load_library import load_library # line: 120
from tensorflow.python.framework.load_library import load_op_library # line: 31
from tensorflow.python.framework.ops import Graph # line: 1973
from tensorflow.python.framework.ops import Operation # line: 1093
from tensorflow.python.framework.ops import RegisterGradient # line: 1699
from tensorflow.python.framework.ops import control_dependencies # line: 4554
from tensorflow.python.framework.ops import device_v2 as device # line: 4445
from tensorflow.python.framework.ops import get_current_name_scope # line: 5710
from tensorflow.python.framework.ops import init_scope # line: 4758
from tensorflow.python.framework.ops import inside_function # line: 4896
from tensorflow.python.framework.ops import is_symbolic_tensor # line: 6222
from tensorflow.python.framework.ops import name_scope_v2 as name_scope # line: 5745
from tensorflow.python.framework.ops import no_gradient # line: 1748
from tensorflow.python.framework.sparse_tensor import SparseTensor # line: 48
from tensorflow.python.framework.sparse_tensor import SparseTensorSpec # line: 377
from tensorflow.python.framework.tensor import Tensor # line: 138
from tensorflow.python.framework.tensor import TensorSpec # line: 916
from tensorflow.python.framework.tensor_conversion import convert_to_tensor_v2_with_dispatch as convert_to_tensor # line: 96
from tensorflow.python.framework.tensor_conversion_registry import register_tensor_conversion_function # line: 80
from tensorflow.python.framework.tensor_shape import TensorShape # line: 747
from tensorflow.python.framework.tensor_util import constant_value as get_static_value # line: 994
from tensorflow.python.framework.tensor_util import is_tf_type as is_tensor # line: 1226
from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray # line: 729
from tensorflow.python.framework.tensor_util import make_tensor_proto # line: 521
from tensorflow.python.framework.type_spec import TypeSpec # line: 49
from tensorflow.python.framework.type_spec import type_spec_from_value # line: 960
from tensorflow.python.framework.versions import COMPILER_VERSION as __compiler_version__ # line: 41
from tensorflow.python.framework.versions import CXX11_ABI_FLAG as __cxx11_abi_flag__ # line: 48
from tensorflow.python.framework.versions import CXX_VERSION as __cxx_version__ # line: 54
from tensorflow.python.framework.versions import GIT_VERSION as __git_version__ # line: 35
from tensorflow.python.framework.versions import MONOLITHIC_BUILD as __monolithic_build__ # line: 60
from tensorflow.python.framework.versions import VERSION as __version__ # line: 29
from tensorflow.python.module.module import Module # line: 29
from tensorflow.python.ops.array_ops import batch_to_space_v2 as batch_to_space # line: 3849
from tensorflow.python.ops.array_ops import boolean_mask_v2 as boolean_mask # line: 1538
from tensorflow.python.ops.array_ops import broadcast_dynamic_shape # line: 527
from tensorflow.python.ops.array_ops import broadcast_static_shape # line: 561
from tensorflow.python.ops.array_ops import concat # line: 1349
from tensorflow.python.ops.array_ops import edit_distance # line: 3523
from tensorflow.python.ops.array_ops import expand_dims_v2 as expand_dims # line: 392
from tensorflow.python.ops.array_ops import fill # line: 204
from tensorflow.python.ops.array_ops import fingerprint # line: 6366
from tensorflow.python.ops.array_ops import gather_v2 as gather # line: 4996
from tensorflow.python.ops.array_ops import gather_nd_v2 as gather_nd # line: 5428
from tensorflow.python.ops.array_ops import guarantee_const # line: 6705
from tensorflow.python.ops.array_ops import identity # line: 253
from tensorflow.python.ops.array_ops import meshgrid # line: 3377
from tensorflow.python.ops.array_ops import newaxis # line: 60
from tensorflow.python.ops.array_ops import one_hot # line: 3987
from tensorflow.python.ops.array_ops import ones # line: 2916
from tensorflow.python.ops.array_ops import ones_like_v2 as ones_like # line: 2848
from tensorflow.python.ops.array_ops import pad_v2 as pad # line: 3196
from tensorflow.python.ops.array_ops import parallel_stack # line: 1135
from tensorflow.python.ops.array_ops import rank # line: 878
from tensorflow.python.ops.array_ops import repeat # line: 6651
from tensorflow.python.ops.array_ops import required_space_to_batch_paddings # line: 3681
from tensorflow.python.ops.array_ops import reshape # line: 63
from tensorflow.python.ops.array_ops import reverse_sequence_v2 as reverse_sequence # line: 4723
from tensorflow.python.ops.array_ops import searchsorted # line: 6109
from tensorflow.python.ops.array_ops import sequence_mask # line: 4165
from tensorflow.python.ops.array_ops import shape_v2 as shape # line: 597
from tensorflow.python.ops.array_ops import shape_n # line: 731
from tensorflow.python.ops.array_ops import size_v2 as size # line: 761
from tensorflow.python.ops.array_ops import slice # line: 939
from tensorflow.python.ops.array_ops import space_to_batch_v2 as space_to_batch # line: 3784
from tensorflow.python.ops.array_ops import split # line: 1743
from tensorflow.python.ops.array_ops import squeeze_v2 as squeeze # line: 4287
from tensorflow.python.ops.array_ops import stop_gradient # line: 6724
from tensorflow.python.ops.array_ops import strided_slice # line: 995
from tensorflow.python.ops.array_ops import tensor_scatter_nd_update # line: 5536
from tensorflow.python.ops.array_ops import transpose_v2 as transpose # line: 1825
from tensorflow.python.ops.array_ops import unique # line: 1642
from tensorflow.python.ops.array_ops import unique_with_counts # line: 1690
from tensorflow.python.ops.array_ops import where_v2 as where # line: 4444
from tensorflow.python.ops.array_ops import zeros # line: 2598
from tensorflow.python.ops.array_ops import zeros_like_v2 as zeros_like # line: 2700
from tensorflow.python.ops.array_ops_stack import stack # line: 24
from tensorflow.python.ops.array_ops_stack import unstack # line: 88
from tensorflow.python.ops.batch_ops import batch_function as nondifferentiable_batch_function # line: 28
from tensorflow.python.ops.check_ops import assert_equal_v2 as assert_equal # line: 762
from tensorflow.python.ops.check_ops import assert_greater_v2 as assert_greater # line: 978
from tensorflow.python.ops.check_ops import assert_less_v2 as assert_less # line: 942
from tensorflow.python.ops.check_ops import assert_rank_v2 as assert_rank # line: 1064
from tensorflow.python.ops.check_ops import ensure_shape # line: 2226
from tensorflow.python.ops.clip_ops import clip_by_global_norm # line: 298
from tensorflow.python.ops.clip_ops import clip_by_norm # line: 152
from tensorflow.python.ops.clip_ops import clip_by_value # line: 34
from tensorflow.python.ops.cond import cond_for_tf_v2 as cond # line: 243
from tensorflow.python.ops.control_flow_assert import Assert # line: 62
from tensorflow.python.ops.control_flow_case import case_v2 as case # line: 33
from tensorflow.python.ops.control_flow_ops import group # line: 1958
from tensorflow.python.ops.control_flow_ops import tuple_v2 as tuple # line: 2037
from tensorflow.python.ops.control_flow_switch_case import switch_case # line: 181
from tensorflow.python.ops.critical_section_ops import CriticalSection # line: 121
from tensorflow.python.ops.custom_gradient import custom_gradient # line: 45
from tensorflow.python.ops.custom_gradient import grad_pass_through # line: 773
from tensorflow.python.ops.custom_gradient import recompute_grad # line: 600
from tensorflow.python.ops.functional_ops import foldl_v2 as foldl # line: 161
from tensorflow.python.ops.functional_ops import foldr_v2 as foldr # line: 358
from tensorflow.python.ops.functional_ops import scan_v2 as scan # line: 691
from tensorflow.python.ops.gradients_impl import gradients_v2 as gradients # line: 188
from tensorflow.python.ops.gradients_impl import HessiansV2 as hessians # line: 455
from tensorflow.python.ops.gradients_util import AggregationMethod # line: 952
from tensorflow.python.ops.histogram_ops import histogram_fixed_width # line: 103
from tensorflow.python.ops.histogram_ops import histogram_fixed_width_bins # line: 31
from tensorflow.python.ops.init_ops_v2 import Constant as constant_initializer # line: 204
from tensorflow.python.ops.init_ops_v2 import Ones as ones_initializer # line: 157
from tensorflow.python.ops.init_ops_v2 import RandomNormal as random_normal_initializer # line: 371
from tensorflow.python.ops.init_ops_v2 import RandomUniform as random_uniform_initializer # line: 302
from tensorflow.python.ops.init_ops_v2 import Zeros as zeros_initializer # line: 110
from tensorflow.python.ops.linalg_ops import eig # line: 382
from tensorflow.python.ops.linalg_ops import eigvals # line: 414
from tensorflow.python.ops.linalg_ops import eye # line: 196
from tensorflow.python.ops.linalg_ops import norm_v2 as norm # line: 561
from tensorflow.python.ops.logging_ops import print_v2 as print # line: 147
from tensorflow.python.ops.manip_ops import roll # line: 27
from tensorflow.python.ops.map_fn import map_fn_v2 as map_fn # line: 613
from tensorflow.python.ops.math_ops import abs # line: 361
from tensorflow.python.ops.math_ops import acos # line: 5842
from tensorflow.python.ops.math_ops import add # line: 3884
from tensorflow.python.ops.math_ops import add_n # line: 3965
from tensorflow.python.ops.math_ops import argmax_v2 as argmax # line: 264
from tensorflow.python.ops.math_ops import argmin_v2 as argmin # line: 318
from tensorflow.python.ops.math_ops import cast # line: 940
from tensorflow.python.ops.math_ops import complex # line: 695
from tensorflow.python.ops.math_ops import cumsum # line: 4216
from tensorflow.python.ops.math_ops import divide # line: 442
from tensorflow.python.ops.math_ops import equal # line: 1828
from tensorflow.python.ops.math_ops import exp # line: 5739
from tensorflow.python.ops.math_ops import floor # line: 5873
from tensorflow.python.ops.math_ops import linspace_nd as linspace # line: 113
from tensorflow.python.ops.math_ops import matmul # line: 3443
from tensorflow.python.ops.math_ops import multiply # line: 477
from tensorflow.python.ops.math_ops import not_equal # line: 1865
from tensorflow.python.ops.math_ops import pow # line: 665
from tensorflow.python.ops.math_ops import range # line: 1984
from tensorflow.python.ops.math_ops import reduce_all # line: 3132
from tensorflow.python.ops.math_ops import reduce_any # line: 3238
from tensorflow.python.ops.math_ops import reduce_logsumexp # line: 3343
from tensorflow.python.ops.math_ops import reduce_max # line: 3013
from tensorflow.python.ops.math_ops import reduce_mean # line: 2539
from tensorflow.python.ops.math_ops import reduce_min # line: 2885
from tensorflow.python.ops.math_ops import reduce_prod # line: 2713
from tensorflow.python.ops.math_ops import reduce_sum # line: 2195
from tensorflow.python.ops.math_ops import round # line: 910
from tensorflow.python.ops.math_ops import saturate_cast # line: 1025
from tensorflow.python.ops.math_ops import scalar_mul_v2 as scalar_mul # line: 656
from tensorflow.python.ops.math_ops import sigmoid # line: 4118
from tensorflow.python.ops.math_ops import sign # line: 743
from tensorflow.python.ops.math_ops import sqrt # line: 5700
from tensorflow.python.ops.math_ops import subtract # line: 541
from tensorflow.python.ops.math_ops import tensordot # line: 5215
from tensorflow.python.ops.math_ops import truediv # line: 1477
from tensorflow.python.ops.parallel_for.control_flow_ops import vectorized_map # line: 452
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensor # line: 65
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensorSpec # line: 2319
from tensorflow.python.ops.script_ops import numpy_function # line: 807
from tensorflow.python.ops.script_ops import eager_py_func as py_function # line: 460
from tensorflow.python.ops.sort_ops import argsort # line: 86
from tensorflow.python.ops.sort_ops import sort # line: 29
from tensorflow.python.ops.special_math_ops import einsum # line: 618
from tensorflow.python.ops.tensor_array_ops import TensorArray # line: 971
from tensorflow.python.ops.tensor_array_ops import TensorArraySpec # line: 1363
from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients # line: 22
from tensorflow.python.ops.variable_scope import variable_creator_scope # line: 2719
from tensorflow.python.ops.variables import Variable # line: 204
from tensorflow.python.ops.variables import VariableAggregationV2 as VariableAggregation # line: 92
from tensorflow.python.ops.variables import VariableSynchronization # line: 64
from tensorflow.python.ops.while_loop import while_loop_v2 as while_loop # line: 35
from tensorflow.python.platform.tf_logging import get_logger # line: 93
# Make sure directory containing top level submodules is in
# the __path__ so that "from tensorflow.foo import bar" works.
# We're using bitwise, but there's nothing special about that.
_API_MODULE = _sys.modules[__name__].bitwise
_tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__))
_current_module = _sys.modules[__name__]
if not hasattr(_current_module, "__path__"):
__path__ = [_tf_api_dir]
elif _tf_api_dir not in __path__:
__path__.append(_tf_api_dir)
# Hook external TensorFlow modules.
# Load tensorflow-io-gcs-filesystem if enabled
if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
# Lazy-load Keras v2/3.
_tf_uses_legacy_keras = (
_os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
setattr(_current_module, "keras", _KerasLazyLoader(globals()))
_module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
_current_module.__path__ = [_module_dir] + _current_module.__path__
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v2.keras")
else:
_module_dir = _module_util.get_parent_dir_for_name("keras.api._v2.keras")
_current_module.__path__ = [_module_dir] + _current_module.__path__
# Enable TF2 behaviors
from tensorflow.python.compat import v2_compat as _compat
_compat.enable_v2_behavior()
_major_api_version = 2
# Load all plugin libraries from site-packages/tensorflow-plugins if we are
# running under pip.
# TODO(gunan): Find a better location for this code snippet.
from tensorflow.python.framework import load_library as _ll
from tensorflow.python.lib.io import file_io as _fi
# Get sitepackages directories for the python installation.
_site_packages_dirs = []
if _site.ENABLE_USER_SITE and _site.USER_SITE is not None:
_site_packages_dirs += [_site.USER_SITE]
_site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
if "getsitepackages" in dir(_site):
_site_packages_dirs += _site.getsitepackages()
for _scheme in _sysconfig.get_scheme_names():
for _name in ["purelib", "platlib"]:
_site_packages_dirs += [_sysconfig.get_path(_name, _scheme)]
_site_packages_dirs = list(set(_site_packages_dirs))
# Find the location of this exact file.
_current_file_location = _inspect.getfile(_inspect.currentframe())
def _running_from_pip_package():
return any(
_current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
if _running_from_pip_package():
# TODO(gunan): Add sanity checks to loaded modules here.
# Load first party dynamic kernels.
_tf_dir = _os.path.dirname(_current_file_location)
_kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
if _os.path.exists(_kernel_dir):
_ll.load_library(_kernel_dir)
# Load third party dynamic kernels.
for _s in _site_packages_dirs:
_plugin_dir = _os.path.join(_s, "tensorflow-plugins")
if _os.path.exists(_plugin_dir):
_ll.load_library(_plugin_dir)
# Load Pluggable Device Library
_ll.load_pluggable_device_library(_plugin_dir)
if _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH", ""):
_ll.load_pluggable_device_library(
_os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH")
)
# Add Keras module aliases
_losses = _KerasLazyLoader(globals(), submodule="losses", name="losses")
_metrics = _KerasLazyLoader(globals(), submodule="metrics", name="metrics")
_optimizers = _KerasLazyLoader(
globals(), submodule="optimizers", name="optimizers")
_initializers = _KerasLazyLoader(
globals(), submodule="initializers", name="initializers")
setattr(_current_module, "losses", _losses)
setattr(_current_module, "metrics", _metrics)
setattr(_current_module, "optimizers", _optimizers)
setattr(_current_module, "initializers", _initializers)
# Do an eager load for Keras' code so that any function/method that needs to
# happen at load time will trigger, eg registration of optimizers in the
# SavedModel registry.
# See b/196254385 for more details.
try:
if _tf_uses_legacy_keras:
importlib.import_module("tf_keras.src.optimizers")
else:
importlib.import_module("keras.src.optimizers")
except (ImportError, AttributeError):
pass
del importlib
# Delete modules that should be hidden from dir().
# Don't fail if these modules are not available.
# For e.g. this file will be originally placed under tensorflow/_api/v1 which
# does not have "python", "core" directories. Then, it will be copied
# to tensorflow/ which does have these two directories.
try:
del python
except NameError:
pass
try:
del core
except NameError:
pass
try:
del compiler
except NameError:
pass
_names_with_underscore = ['__compiler_version__', '__cxx11_abi_flag__', '__cxx_version__', '__git_version__', '__internal__', '__monolithic_build__', '__operators__', '__version__']
__all__ = [_s for _s in dir() if not _s.startswith('_')]
__all__.extend([_s for _s in _names_with_underscore])
@@ -0,0 +1,42 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__ namespace
"""
import sys as _sys
from tensorflow._api.v2.__internal__ import autograph
from tensorflow._api.v2.__internal__ import decorator
from tensorflow._api.v2.__internal__ import dispatch
from tensorflow._api.v2.__internal__ import distribute
from tensorflow._api.v2.__internal__ import eager_context
from tensorflow._api.v2.__internal__ import feature_column
from tensorflow._api.v2.__internal__ import function
from tensorflow._api.v2.__internal__ import graph_util
from tensorflow._api.v2.__internal__ import mixed_precision
from tensorflow._api.v2.__internal__ import monitoring
from tensorflow._api.v2.__internal__ import nest
from tensorflow._api.v2.__internal__ import ops
from tensorflow._api.v2.__internal__ import saved_model
from tensorflow._api.v2.__internal__ import smart_cond
from tensorflow._api.v2.__internal__ import test
from tensorflow._api.v2.__internal__ import tf2
from tensorflow._api.v2.__internal__ import tracking
from tensorflow._api.v2.__internal__ import train
from tensorflow._api.v2.__internal__ import types
from tensorflow.python.distribute.load_context import load_context # line: 49
from tensorflow.python.eager.backprop import record_gradient # line: 160
from tensorflow.python.eager.context import is_tfrt_enabled # line: 215
from tensorflow.python.eager.lift_to_graph import lift_to_graph # line: 203
from tensorflow.python.framework.composite_tensor import CompositeTensor # line: 24
from tensorflow.python.framework.func_graph import FuncGraph # line: 133
from tensorflow.python.framework.ops import EagerTensor # line: 674
from tensorflow.python.framework.ops import SymbolicTensor # line: 259
from tensorflow.python.framework.ops import _create_c_op as create_c_op # line: 1020
from tensorflow.python.framework.ops import get_name_scope # line: 5176
from tensorflow.python.ops.control_flow_ops import get_enclosing_xla_context # line: 2208
from tensorflow.python.ops.control_flow_switch_case import execute_fn_for_device # line: 132
from tensorflow.python.util.keras_deps import register_call_context_function # line: 38
from tensorflow.python.util.keras_deps import register_clear_session_function # line: 44
from tensorflow.python.util.keras_deps import register_get_session_function # line: 50
from tensorflow.python.util.keras_deps import register_load_model_function # line: 56
@@ -0,0 +1,9 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.autograph namespace
"""
import sys as _sys
from tensorflow.python.autograph.core.ag_ctx import control_status_ctx # line: 34
from tensorflow.python.autograph.impl.api import tf_convert # line: 493
@@ -0,0 +1,9 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.decorator namespace
"""
import sys as _sys
from tensorflow.python.util.tf_decorator_export import make_decorator # line: 21
from tensorflow.python.util.tf_decorator_export import unwrap # line: 24
@@ -0,0 +1,10 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.dispatch namespace
"""
import sys as _sys
from tensorflow.python.util.dispatch import GlobalOpDispatcher # line: 133
from tensorflow.python.util.dispatch import OpDispatcher # line: 89
from tensorflow.python.util.dispatch import add_dispatch_support # line: 1188
@@ -0,0 +1,13 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.distribute namespace
"""
import sys as _sys
from tensorflow._api.v2.__internal__.distribute import combinations
from tensorflow._api.v2.__internal__.distribute import interim
from tensorflow._api.v2.__internal__.distribute import multi_process_runner
from tensorflow.python.distribute.distribute_lib import variable_sync_on_read_context # line: 395
from tensorflow.python.distribute.merge_call_interim import strategy_supports_no_merge_call # line: 20
from tensorflow.python.distribute.sharded_variable import ShardedVariable # line: 842
@@ -0,0 +1,35 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.distribute.combinations namespace
"""
import sys as _sys
from tensorflow.python.distribute.combinations import env # line: 456
from tensorflow.python.distribute.combinations import generate # line: 365
from tensorflow.python.distribute.combinations import in_main_process # line: 418
from tensorflow.python.distribute.strategy_combinations import central_storage_strategy_with_gpu_and_cpu # line: 669
from tensorflow.python.distribute.strategy_combinations import central_storage_strategy_with_two_gpus # line: 673
from tensorflow.python.distribute.strategy_combinations import cloud_tpu_strategy # line: 677
from tensorflow.python.distribute.strategy_combinations import default_strategy # line: 680
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_cpu_1_and_2 # line: 683
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_gpu_and_cpu # line: 691
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_one_cpu # line: 695
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_one_gpu # line: 698
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_two_cpus # line: 687
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_two_gpus # line: 701
from tensorflow.python.distribute.strategy_combinations import mirrored_strategy_with_two_gpus_no_merge_call # line: 705
from tensorflow.python.distribute.strategy_combinations import multi_worker_mirrored_2x1_cpu # line: 709
from tensorflow.python.distribute.strategy_combinations import multi_worker_mirrored_2x1_gpu # line: 712
from tensorflow.python.distribute.strategy_combinations import multi_worker_mirrored_2x1_gpu_noshare # line: 715
from tensorflow.python.distribute.strategy_combinations import multi_worker_mirrored_2x2_gpu # line: 719
from tensorflow.python.distribute.strategy_combinations import multi_worker_mirrored_2x2_gpu_no_merge_call # line: 722
from tensorflow.python.distribute.strategy_combinations import one_device_strategy # line: 726
from tensorflow.python.distribute.strategy_combinations import one_device_strategy_gpu # line: 729
from tensorflow.python.distribute.strategy_combinations import parameter_server_strategy_1worker_2ps_1gpu # line: 747
from tensorflow.python.distribute.strategy_combinations import parameter_server_strategy_1worker_2ps_cpu # line: 739
from tensorflow.python.distribute.strategy_combinations import parameter_server_strategy_3worker_2ps_1gpu # line: 743
from tensorflow.python.distribute.strategy_combinations import parameter_server_strategy_3worker_2ps_cpu # line: 735
from tensorflow.python.distribute.strategy_combinations import tpu_strategy # line: 732
from tensorflow.python.distribute.strategy_combinations import tpu_strategy_one_core # line: 751
from tensorflow.python.distribute.strategy_combinations import tpu_strategy_packed_var # line: 754
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.distribute.interim namespace
"""
import sys as _sys
from tensorflow.python.distribute.merge_call_interim import maybe_merge_call # line: 29
@@ -0,0 +1,14 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.distribute.multi_process_runner namespace
"""
import sys as _sys
from tensorflow.python.distribute.multi_process_runner import NotInitializedError # line: 1121
from tensorflow.python.distribute.multi_process_runner import SubprocessTimeoutError # line: 1084
from tensorflow.python.distribute.multi_process_runner import UnexpectedSubprocessExitError # line: 1102
from tensorflow.python.distribute.multi_process_runner import get_barrier # line: 1339
from tensorflow.python.distribute.multi_process_runner import run # line: 1158
from tensorflow.python.distribute.multi_process_runner import test_main # line: 1422
from tensorflow.python.distribute.multi_worker_test_base import create_cluster_spec # line: 352
@@ -0,0 +1,12 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.eager_context namespace
"""
import sys as _sys
from tensorflow.python.eager.context import eager_mode # line: 2726
from tensorflow.python.eager.context import get_config # line: 2762
from tensorflow.python.eager.context import get_device_name # line: 2772
from tensorflow.python.eager.context import get_executor # line: 2792
from tensorflow.python.eager.context import set_soft_device_placement # line: 2782
@@ -0,0 +1,14 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.feature_column namespace
"""
import sys as _sys
from tensorflow.python.feature_column.feature_column_v2 import DenseColumn # line: 1777
from tensorflow.python.feature_column.feature_column_v2 import FeatureTransformationCache # line: 1962
from tensorflow.python.feature_column.feature_column_v2 import SequenceDenseColumn # line: 1941
from tensorflow.python.feature_column.feature_column_v2 import _StateManagerImpl as StateManager # line: 188
from tensorflow.python.feature_column.feature_column_v2_types import FeatureColumn # line: 21
from tensorflow.python.feature_column.serialization import deserialize_feature_column # line: 99
from tensorflow.python.feature_column.serialization import serialize_feature_column # line: 46
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.function namespace
"""
import sys as _sys
from tensorflow.python.eager.polymorphic_function.polymorphic_function import Function # line: 452
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.graph_util namespace
"""
import sys as _sys
from tensorflow.python.framework.graph_util_impl import graph_defs_equal # line: 379
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.mixed_precision namespace
"""
import sys as _sys
from tensorflow.python.training.experimental.mixed_precision import register_loss_scale_wrapper # line: 35
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.monitoring namespace
"""
import sys as _sys
from tensorflow.python.eager.monitoring import BoolGauge # line: 337
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.nest namespace
"""
import sys as _sys
from tensorflow.python.util.nest import flatten_up_to # line: 764
from tensorflow.python.util.nest import get_traverse_shallow_structure # line: 1115
from tensorflow.python.util.nest import is_attrs # line: 138
from tensorflow.python.util.nest import is_mapping # line: 131
from tensorflow.python.util.nest import list_to_tuple # line: 1288
from tensorflow.python.util.nest import map_structure_up_to # line: 960
from tensorflow.python.util.nest import _sequence_like as sequence_like # line: 144
from tensorflow.python.util.nest import yield_flat_paths # line: 1188
@@ -0,0 +1,10 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.ops namespace
"""
import sys as _sys
from tensorflow.python.ops.handle_data_util import get_resource_handle_data # line: 25
from tensorflow.python.ops.resource_variable_ops import is_resource_variable # line: 2566
from tensorflow.python.ops.weights_broadcast_ops import broadcast_weights # line: 136
@@ -0,0 +1,13 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.saved_model namespace
"""
import sys as _sys
from tensorflow._api.v2.__internal__.saved_model import load
from tensorflow.python.saved_model.builder_impl import _SavedModelBuilder as SavedModelBuilder # line: 47
from tensorflow.python.saved_model.load import load_partial # line: 916
from tensorflow.python.saved_model.loader_impl import parse_saved_model # line: 75
from tensorflow.python.saved_model.nested_structure_coder import decode_proto # line: 109
from tensorflow.python.saved_model.nested_structure_coder import encode_structure # line: 77
@@ -0,0 +1,11 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.saved_model.load namespace
"""
import sys as _sys
from tensorflow.python.saved_model.revived_types import VersionedTypeRegistration # line: 25
from tensorflow.python.saved_model.revived_types import get_setter # line: 179
from tensorflow.python.saved_model.revived_types import register_revived_type # line: 109
from tensorflow.python.saved_model.revived_types import registered_identifiers # line: 169
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.smart_cond namespace
"""
import sys as _sys
from tensorflow.python.framework.smart_cond import smart_cond # line: 24
@@ -0,0 +1,9 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.test namespace
"""
import sys as _sys
from tensorflow._api.v2.__internal__.test import combinations
from tensorflow.python.platform.benchmark import ParameterizedBenchmark # line: 150
@@ -0,0 +1,14 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.test.combinations namespace
"""
import sys as _sys
from tensorflow.python.framework.combinations import generate # line: 83
from tensorflow.python.framework.test_combinations import NamedObject # line: 437
from tensorflow.python.framework.test_combinations import OptionalParameter # line: 187
from tensorflow.python.framework.test_combinations import ParameterModifier # line: 112
from tensorflow.python.framework.test_combinations import TestCombination # line: 58
from tensorflow.python.framework.test_combinations import combine # line: 365
from tensorflow.python.framework.test_combinations import times # line: 403
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.tf2 namespace
"""
import sys as _sys
from tensorflow.python.tf2 import enabled # line: 35
@@ -0,0 +1,21 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.tracking namespace
"""
import sys as _sys
from tensorflow.python.checkpoint.checkpoint import register_session_provider # line: 97
from tensorflow.python.checkpoint.checkpoint import streaming_restore # line: 744
from tensorflow.python.checkpoint.graph_view import ObjectGraphView # line: 25
from tensorflow.python.trackable.autotrackable import AutoTrackable # line: 29
from tensorflow.python.trackable.base import CheckpointInitialValue # line: 123
from tensorflow.python.trackable.base import CheckpointInitialValueCallable # line: 96
from tensorflow.python.trackable.base import Trackable # line: 277
from tensorflow.python.trackable.base import TrackableReference # line: 35
from tensorflow.python.trackable.base import no_automatic_dependency_tracking # line: 182
from tensorflow.python.trackable.base_delegate import DelegatingTrackableMixin # line: 32
from tensorflow.python.trackable.data_structures import TrackableDataStructure # line: 171
from tensorflow.python.trackable.data_structures import sticky_attribute_assignment # line: 124
from tensorflow.python.trackable.data_structures import wrap_or_unwrap as wrap # line: 86
from tensorflow.python.training.saving.saveable_object_util import saveable_objects_from_trackable # line: 499
@@ -0,0 +1,11 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.train namespace
"""
import sys as _sys
from tensorflow.python.checkpoint.checkpoint_management import update_checkpoint_state_internal as update_checkpoint_state # line: 175
from tensorflow.python.training.experimental.mixed_precision_global_state import is_mixed_precision_graph_rewrite_enabled # line: 40
from tensorflow.python.training.experimental.mixed_precision_global_state import set_using_mixed_precision_policy # line: 63
from tensorflow.python.training.moving_averages import assign_moving_average # line: 34
@@ -0,0 +1,9 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.types namespace
"""
import sys as _sys
from tensorflow._api.v2.__internal__.types import data
from tensorflow.python.types.core import Tensor # line: 45
@@ -0,0 +1,8 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.types.data namespace
"""
import sys as _sys
from tensorflow.python.types.data import DatasetV2 as Dataset # line: 22
@@ -0,0 +1,12 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__operators__ namespace
"""
import sys as _sys
from tensorflow.python.ops.math_ops import _add_dispatch as add # line: 1709
from tensorflow.python.ops.math_ops import tensor_equals as eq # line: 1902
from tensorflow.python.ops.math_ops import tensor_not_equals as ne # line: 1944
from tensorflow.python.ops.ragged.ragged_getitem import ragged_tensor_getitem as ragged_getitem # line: 34
from tensorflow.python.ops.tensor_getitem_override import _slice_helper as getitem # line: 65
@@ -0,0 +1,330 @@
tensorflow._api.v2.__internal__
tensorflow._api.v2.__internal__.autograph
tensorflow._api.v2.__internal__.decorator
tensorflow._api.v2.__internal__.dispatch
tensorflow._api.v2.__internal__.distribute
tensorflow._api.v2.__internal__.distribute.combinations
tensorflow._api.v2.__internal__.distribute.interim
tensorflow._api.v2.__internal__.distribute.multi_process_runner
tensorflow._api.v2.__internal__.eager_context
tensorflow._api.v2.__internal__.feature_column
tensorflow._api.v2.__internal__.function
tensorflow._api.v2.__internal__.graph_util
tensorflow._api.v2.__internal__.mixed_precision
tensorflow._api.v2.__internal__.monitoring
tensorflow._api.v2.__internal__.nest
tensorflow._api.v2.__internal__.ops
tensorflow._api.v2.__internal__.saved_model
tensorflow._api.v2.__internal__.saved_model.load
tensorflow._api.v2.__internal__.smart_cond
tensorflow._api.v2.__internal__.test
tensorflow._api.v2.__internal__.test.combinations
tensorflow._api.v2.__internal__.tf2
tensorflow._api.v2.__internal__.tracking
tensorflow._api.v2.__internal__.train
tensorflow._api.v2.__internal__.types
tensorflow._api.v2.__internal__.types.data
tensorflow._api.v2.__operators__
tensorflow._api.v2.audio
tensorflow._api.v2.autodiff
tensorflow._api.v2.autograph
tensorflow._api.v2.autograph.experimental
tensorflow._api.v2.bitwise
tensorflow._api.v2.compat
tensorflow._api.v2.compat.v1
tensorflow._api.v2.compat.v1.__internal__
tensorflow._api.v2.compat.v1.__internal__.types
tensorflow._api.v2.compat.v1.__internal__.types.data
tensorflow._api.v2.compat.v1.app
tensorflow._api.v2.compat.v1.audio
tensorflow._api.v2.compat.v1.autograph
tensorflow._api.v2.compat.v1.autograph.experimental
tensorflow._api.v2.compat.v1.bitwise
tensorflow._api.v2.compat.v1.compat
tensorflow._api.v2.compat.v1.compat.v1
tensorflow._api.v2.compat.v1.compat.v1.compat
tensorflow._api.v2.compat.v1.compat.v2
tensorflow._api.v2.compat.v1.compat.v2.compat
tensorflow._api.v2.compat.v1.config
tensorflow._api.v2.compat.v1.config.experimental
tensorflow._api.v2.compat.v1.config.optimizer
tensorflow._api.v2.compat.v1.config.threading
tensorflow._api.v2.compat.v1.data
tensorflow._api.v2.compat.v1.data.experimental
tensorflow._api.v2.compat.v1.data.experimental.service
tensorflow._api.v2.compat.v1.debugging
tensorflow._api.v2.compat.v1.debugging.experimental
tensorflow._api.v2.compat.v1.distribute
tensorflow._api.v2.compat.v1.distribute.cluster_resolver
tensorflow._api.v2.compat.v1.distribute.experimental
tensorflow._api.v2.compat.v1.distributions
tensorflow._api.v2.compat.v1.dtypes
tensorflow._api.v2.compat.v1.dtypes.experimental
tensorflow._api.v2.compat.v1.errors
tensorflow._api.v2.compat.v1.experimental
tensorflow._api.v2.compat.v1.experimental.extension_type
tensorflow._api.v2.compat.v1.feature_column
tensorflow._api.v2.compat.v1.gfile
tensorflow._api.v2.compat.v1.graph_util
tensorflow._api.v2.compat.v1.image
tensorflow._api.v2.compat.v1.initializers
tensorflow._api.v2.compat.v1.io
tensorflow._api.v2.compat.v1.io.gfile
tensorflow._api.v2.compat.v1.layers
tensorflow._api.v2.compat.v1.linalg
tensorflow._api.v2.compat.v1.linalg.experimental
tensorflow._api.v2.compat.v1.lite
tensorflow._api.v2.compat.v1.lite.constants
tensorflow._api.v2.compat.v1.lite.experimental
tensorflow._api.v2.compat.v1.lite.experimental.authoring
tensorflow._api.v2.compat.v1.logging
tensorflow._api.v2.compat.v1.lookup
tensorflow._api.v2.compat.v1.lookup.experimental
tensorflow._api.v2.compat.v1.losses
tensorflow._api.v2.compat.v1.manip
tensorflow._api.v2.compat.v1.math
tensorflow._api.v2.compat.v1.math.special
tensorflow._api.v2.compat.v1.metrics
tensorflow._api.v2.compat.v1.mixed_precision
tensorflow._api.v2.compat.v1.mixed_precision.experimental
tensorflow._api.v2.compat.v1.mlir
tensorflow._api.v2.compat.v1.mlir.experimental
tensorflow._api.v2.compat.v1.nest
tensorflow._api.v2.compat.v1.nn
tensorflow._api.v2.compat.v1.nn.experimental
tensorflow._api.v2.compat.v1.nn.rnn_cell
tensorflow._api.v2.compat.v1.profiler
tensorflow._api.v2.compat.v1.python_io
tensorflow._api.v2.compat.v1.quantization
tensorflow._api.v2.compat.v1.quantization.experimental
tensorflow._api.v2.compat.v1.queue
tensorflow._api.v2.compat.v1.ragged
tensorflow._api.v2.compat.v1.random
tensorflow._api.v2.compat.v1.random.experimental
tensorflow._api.v2.compat.v1.raw_ops
tensorflow._api.v2.compat.v1.resource_loader
tensorflow._api.v2.compat.v1.saved_model
tensorflow._api.v2.compat.v1.saved_model.builder
tensorflow._api.v2.compat.v1.saved_model.constants
tensorflow._api.v2.compat.v1.saved_model.experimental
tensorflow._api.v2.compat.v1.saved_model.loader
tensorflow._api.v2.compat.v1.saved_model.main_op
tensorflow._api.v2.compat.v1.saved_model.signature_constants
tensorflow._api.v2.compat.v1.saved_model.signature_def_utils
tensorflow._api.v2.compat.v1.saved_model.tag_constants
tensorflow._api.v2.compat.v1.saved_model.utils
tensorflow._api.v2.compat.v1.sets
tensorflow._api.v2.compat.v1.signal
tensorflow._api.v2.compat.v1.sparse
tensorflow._api.v2.compat.v1.spectral
tensorflow._api.v2.compat.v1.strings
tensorflow._api.v2.compat.v1.summary
tensorflow._api.v2.compat.v1.sysconfig
tensorflow._api.v2.compat.v1.test
tensorflow._api.v2.compat.v1.test.experimental
tensorflow._api.v2.compat.v1.tpu
tensorflow._api.v2.compat.v1.tpu.experimental
tensorflow._api.v2.compat.v1.tpu.experimental.embedding
tensorflow._api.v2.compat.v1.train
tensorflow._api.v2.compat.v1.train.experimental
tensorflow._api.v2.compat.v1.train.queue_runner
tensorflow._api.v2.compat.v1.types
tensorflow._api.v2.compat.v1.types.experimental
tensorflow._api.v2.compat.v1.user_ops
tensorflow._api.v2.compat.v1.version
tensorflow._api.v2.compat.v1.xla
tensorflow._api.v2.compat.v1.xla.experimental
tensorflow._api.v2.compat.v2
tensorflow._api.v2.compat.v2.__internal__
tensorflow._api.v2.compat.v2.__internal__.autograph
tensorflow._api.v2.compat.v2.__internal__.decorator
tensorflow._api.v2.compat.v2.__internal__.dispatch
tensorflow._api.v2.compat.v2.__internal__.distribute
tensorflow._api.v2.compat.v2.__internal__.distribute.combinations
tensorflow._api.v2.compat.v2.__internal__.distribute.interim
tensorflow._api.v2.compat.v2.__internal__.distribute.multi_process_runner
tensorflow._api.v2.compat.v2.__internal__.eager_context
tensorflow._api.v2.compat.v2.__internal__.feature_column
tensorflow._api.v2.compat.v2.__internal__.function
tensorflow._api.v2.compat.v2.__internal__.graph_util
tensorflow._api.v2.compat.v2.__internal__.mixed_precision
tensorflow._api.v2.compat.v2.__internal__.monitoring
tensorflow._api.v2.compat.v2.__internal__.nest
tensorflow._api.v2.compat.v2.__internal__.ops
tensorflow._api.v2.compat.v2.__internal__.saved_model
tensorflow._api.v2.compat.v2.__internal__.saved_model.load
tensorflow._api.v2.compat.v2.__internal__.smart_cond
tensorflow._api.v2.compat.v2.__internal__.test
tensorflow._api.v2.compat.v2.__internal__.test.combinations
tensorflow._api.v2.compat.v2.__internal__.tf2
tensorflow._api.v2.compat.v2.__internal__.tracking
tensorflow._api.v2.compat.v2.__internal__.train
tensorflow._api.v2.compat.v2.__internal__.types
tensorflow._api.v2.compat.v2.__internal__.types.data
tensorflow._api.v2.compat.v2.__operators__
tensorflow._api.v2.compat.v2.audio
tensorflow._api.v2.compat.v2.autodiff
tensorflow._api.v2.compat.v2.autograph
tensorflow._api.v2.compat.v2.autograph.experimental
tensorflow._api.v2.compat.v2.bitwise
tensorflow._api.v2.compat.v2.compat
tensorflow._api.v2.compat.v2.compat.v1
tensorflow._api.v2.compat.v2.compat.v1.compat
tensorflow._api.v2.compat.v2.compat.v2
tensorflow._api.v2.compat.v2.compat.v2.compat
tensorflow._api.v2.compat.v2.config
tensorflow._api.v2.compat.v2.config.experimental
tensorflow._api.v2.compat.v2.config.optimizer
tensorflow._api.v2.compat.v2.config.threading
tensorflow._api.v2.compat.v2.data
tensorflow._api.v2.compat.v2.data.experimental
tensorflow._api.v2.compat.v2.data.experimental.service
tensorflow._api.v2.compat.v2.debugging
tensorflow._api.v2.compat.v2.debugging.experimental
tensorflow._api.v2.compat.v2.distribute
tensorflow._api.v2.compat.v2.distribute.cluster_resolver
tensorflow._api.v2.compat.v2.distribute.coordinator
tensorflow._api.v2.compat.v2.distribute.experimental
tensorflow._api.v2.compat.v2.distribute.experimental.coordinator
tensorflow._api.v2.compat.v2.distribute.experimental.partitioners
tensorflow._api.v2.compat.v2.distribute.experimental.rpc
tensorflow._api.v2.compat.v2.dtypes
tensorflow._api.v2.compat.v2.dtypes.experimental
tensorflow._api.v2.compat.v2.errors
tensorflow._api.v2.compat.v2.experimental
tensorflow._api.v2.compat.v2.experimental.dlpack
tensorflow._api.v2.compat.v2.experimental.dtensor
tensorflow._api.v2.compat.v2.experimental.extension_type
tensorflow._api.v2.compat.v2.experimental.numpy
tensorflow._api.v2.compat.v2.experimental.numpy.random
tensorflow._api.v2.compat.v2.experimental.tensorrt
tensorflow._api.v2.compat.v2.feature_column
tensorflow._api.v2.compat.v2.graph_util
tensorflow._api.v2.compat.v2.image
tensorflow._api.v2.compat.v2.io
tensorflow._api.v2.compat.v2.io.gfile
tensorflow._api.v2.compat.v2.linalg
tensorflow._api.v2.compat.v2.linalg.experimental
tensorflow._api.v2.compat.v2.lite
tensorflow._api.v2.compat.v2.lite.experimental
tensorflow._api.v2.compat.v2.lite.experimental.authoring
tensorflow._api.v2.compat.v2.lookup
tensorflow._api.v2.compat.v2.lookup.experimental
tensorflow._api.v2.compat.v2.math
tensorflow._api.v2.compat.v2.math.special
tensorflow._api.v2.compat.v2.mlir
tensorflow._api.v2.compat.v2.mlir.experimental
tensorflow._api.v2.compat.v2.nest
tensorflow._api.v2.compat.v2.nn
tensorflow._api.v2.compat.v2.nn.experimental
tensorflow._api.v2.compat.v2.profiler
tensorflow._api.v2.compat.v2.profiler.experimental
tensorflow._api.v2.compat.v2.profiler.experimental.client
tensorflow._api.v2.compat.v2.profiler.experimental.server
tensorflow._api.v2.compat.v2.quantization
tensorflow._api.v2.compat.v2.quantization.experimental
tensorflow._api.v2.compat.v2.queue
tensorflow._api.v2.compat.v2.ragged
tensorflow._api.v2.compat.v2.random
tensorflow._api.v2.compat.v2.random.experimental
tensorflow._api.v2.compat.v2.raw_ops
tensorflow._api.v2.compat.v2.saved_model
tensorflow._api.v2.compat.v2.saved_model.experimental
tensorflow._api.v2.compat.v2.sets
tensorflow._api.v2.compat.v2.signal
tensorflow._api.v2.compat.v2.sparse
tensorflow._api.v2.compat.v2.strings
tensorflow._api.v2.compat.v2.summary
tensorflow._api.v2.compat.v2.summary.experimental
tensorflow._api.v2.compat.v2.sysconfig
tensorflow._api.v2.compat.v2.test
tensorflow._api.v2.compat.v2.test.experimental
tensorflow._api.v2.compat.v2.tpu
tensorflow._api.v2.compat.v2.tpu.experimental
tensorflow._api.v2.compat.v2.tpu.experimental.embedding
tensorflow._api.v2.compat.v2.train
tensorflow._api.v2.compat.v2.train.experimental
tensorflow._api.v2.compat.v2.types
tensorflow._api.v2.compat.v2.types.experimental
tensorflow._api.v2.compat.v2.types.experimental.distributed
tensorflow._api.v2.compat.v2.version
tensorflow._api.v2.compat.v2.xla
tensorflow._api.v2.compat.v2.xla.experimental
tensorflow._api.v2.config
tensorflow._api.v2.config.experimental
tensorflow._api.v2.config.optimizer
tensorflow._api.v2.config.threading
tensorflow._api.v2.data
tensorflow._api.v2.data.experimental
tensorflow._api.v2.data.experimental.service
tensorflow._api.v2.debugging
tensorflow._api.v2.debugging.experimental
tensorflow._api.v2.distribute
tensorflow._api.v2.distribute.cluster_resolver
tensorflow._api.v2.distribute.coordinator
tensorflow._api.v2.distribute.experimental
tensorflow._api.v2.distribute.experimental.coordinator
tensorflow._api.v2.distribute.experimental.partitioners
tensorflow._api.v2.distribute.experimental.rpc
tensorflow._api.v2.dtypes
tensorflow._api.v2.dtypes.experimental
tensorflow._api.v2.errors
tensorflow._api.v2.experimental
tensorflow._api.v2.experimental.dlpack
tensorflow._api.v2.experimental.dtensor
tensorflow._api.v2.experimental.extension_type
tensorflow._api.v2.experimental.numpy
tensorflow._api.v2.experimental.numpy.random
tensorflow._api.v2.experimental.tensorrt
tensorflow._api.v2.feature_column
tensorflow._api.v2.graph_util
tensorflow._api.v2.image
tensorflow._api.v2.io
tensorflow._api.v2.io.gfile
tensorflow._api.v2.linalg
tensorflow._api.v2.linalg.experimental
tensorflow._api.v2.lite
tensorflow._api.v2.lite.experimental
tensorflow._api.v2.lite.experimental.authoring
tensorflow._api.v2.lookup
tensorflow._api.v2.lookup.experimental
tensorflow._api.v2.math
tensorflow._api.v2.math.special
tensorflow._api.v2.mlir
tensorflow._api.v2.mlir.experimental
tensorflow._api.v2.nest
tensorflow._api.v2.nn
tensorflow._api.v2.nn.experimental
tensorflow._api.v2.profiler
tensorflow._api.v2.profiler.experimental
tensorflow._api.v2.profiler.experimental.client
tensorflow._api.v2.profiler.experimental.server
tensorflow._api.v2.quantization
tensorflow._api.v2.quantization.experimental
tensorflow._api.v2.queue
tensorflow._api.v2.ragged
tensorflow._api.v2.random
tensorflow._api.v2.random.experimental
tensorflow._api.v2.raw_ops
tensorflow._api.v2.saved_model
tensorflow._api.v2.saved_model.experimental
tensorflow._api.v2.sets
tensorflow._api.v2.signal
tensorflow._api.v2.sparse
tensorflow._api.v2.strings
tensorflow._api.v2.summary
tensorflow._api.v2.summary.experimental
tensorflow._api.v2.sysconfig
tensorflow._api.v2.test
tensorflow._api.v2.test.experimental
tensorflow._api.v2.tpu
tensorflow._api.v2.tpu.experimental
tensorflow._api.v2.tpu.experimental.embedding
tensorflow._api.v2.train
tensorflow._api.v2.train.experimental
tensorflow._api.v2.types
tensorflow._api.v2.types.experimental
tensorflow._api.v2.types.experimental.distributed
tensorflow._api.v2.version
tensorflow._api.v2.xla
tensorflow._api.v2.xla.experimental
@@ -0,0 +1,9 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.audio namespace
"""
import sys as _sys
from tensorflow.python.ops.gen_audio_ops import decode_wav # line: 136
from tensorflow.python.ops.gen_audio_ops import encode_wav # line: 263
@@ -0,0 +1,9 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.autodiff namespace
"""
import sys as _sys
from tensorflow.python.eager.backprop import GradientTape # line: 704
from tensorflow.python.eager.forwardprop import ForwardAccumulator # line: 229
@@ -0,0 +1,12 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.autograph namespace
"""
import sys as _sys
from tensorflow._api.v2.autograph import experimental
from tensorflow.python.autograph.impl.api import to_code # line: 904
from tensorflow.python.autograph.impl.api import to_graph # line: 707
from tensorflow.python.autograph.utils.ag_logging import set_verbosity # line: 36
from tensorflow.python.autograph.utils.ag_logging import trace # line: 87
@@ -0,0 +1,10 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.autograph.experimental namespace
"""
import sys as _sys
from tensorflow.python.autograph.core.converter import Feature # line: 78
from tensorflow.python.autograph.impl.api import do_not_convert # line: 624
from tensorflow.python.autograph.lang.directives import set_loop_options # line: 45
@@ -0,0 +1,13 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.bitwise namespace
"""
import sys as _sys
from tensorflow.python.ops.gen_bitwise_ops import bitwise_and # line: 29
from tensorflow.python.ops.gen_bitwise_ops import bitwise_or # line: 135
from tensorflow.python.ops.gen_bitwise_ops import bitwise_xor # line: 241
from tensorflow.python.ops.gen_bitwise_ops import invert # line: 347
from tensorflow.python.ops.gen_bitwise_ops import left_shift # line: 471
from tensorflow.python.ops.gen_bitwise_ops import right_shift # line: 651
@@ -0,0 +1,22 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.compat namespace
"""
import sys as _sys
from tensorflow._api.v2.compat import v1
from tensorflow._api.v2.compat import v2
from tensorflow.python.compat.compat import forward_compatibility_horizon # line: 125
from tensorflow.python.compat.compat import forward_compatible # line: 65
from tensorflow.python.framework.tensor_shape import dimension_at_index # line: 139
from tensorflow.python.framework.tensor_shape import dimension_value # line: 103
from tensorflow.python.util.compat import as_bytes # line: 130
from tensorflow.python.util.compat import as_str # line: 131
from tensorflow.python.util.compat import as_str_any # line: 134
from tensorflow.python.util.compat import as_text # line: 129
from tensorflow.python.util.compat import bytes_or_text_types # line: 225
from tensorflow.python.util.compat import complex_types # line: 221
from tensorflow.python.util.compat import integral_types # line: 217
from tensorflow.python.util.compat import path_to_str # line: 154
from tensorflow.python.util.compat import real_types # line: 219
@@ -0,0 +1,734 @@
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Bring in all of the public TensorFlow interface into this module."""
# pylint: disable=g-bad-import-order,g-import-not-at-top,protected-access
import os as _os
import sys as _sys
from tensorflow.python.tools import module_util as _module_util
from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
from tensorflow._api.v2.compat.v1 import __internal__
from tensorflow._api.v2.compat.v1 import app
from tensorflow._api.v2.compat.v1 import audio
from tensorflow._api.v2.compat.v1 import autograph
from tensorflow._api.v2.compat.v1 import bitwise
from tensorflow._api.v2.compat.v1 import compat
from tensorflow._api.v2.compat.v1 import config
from tensorflow._api.v2.compat.v1 import data
from tensorflow._api.v2.compat.v1 import debugging
from tensorflow._api.v2.compat.v1 import distribute
from tensorflow._api.v2.compat.v1 import distributions
from tensorflow._api.v2.compat.v1 import dtypes
from tensorflow._api.v2.compat.v1 import errors
from tensorflow._api.v2.compat.v1 import experimental
from tensorflow._api.v2.compat.v1 import feature_column
from tensorflow._api.v2.compat.v1 import gfile
from tensorflow._api.v2.compat.v1 import graph_util
from tensorflow._api.v2.compat.v1 import image
from tensorflow._api.v2.compat.v1 import initializers
from tensorflow._api.v2.compat.v1 import io
from tensorflow._api.v2.compat.v1 import layers
from tensorflow._api.v2.compat.v1 import linalg
from tensorflow._api.v2.compat.v1 import lite
from tensorflow._api.v2.compat.v1 import logging
from tensorflow._api.v2.compat.v1 import lookup
from tensorflow._api.v2.compat.v1 import losses
from tensorflow._api.v2.compat.v1 import manip
from tensorflow._api.v2.compat.v1 import math
from tensorflow._api.v2.compat.v1 import metrics
from tensorflow._api.v2.compat.v1 import mixed_precision
from tensorflow._api.v2.compat.v1 import mlir
from tensorflow._api.v2.compat.v1 import nest
from tensorflow._api.v2.compat.v1 import nn
from tensorflow._api.v2.compat.v1 import profiler
from tensorflow._api.v2.compat.v1 import python_io
from tensorflow._api.v2.compat.v1 import quantization
from tensorflow._api.v2.compat.v1 import queue
from tensorflow._api.v2.compat.v1 import ragged
from tensorflow._api.v2.compat.v1 import random
from tensorflow._api.v2.compat.v1 import raw_ops
from tensorflow._api.v2.compat.v1 import resource_loader
from tensorflow._api.v2.compat.v1 import saved_model
from tensorflow._api.v2.compat.v1 import sets
from tensorflow._api.v2.compat.v1 import signal
from tensorflow._api.v2.compat.v1 import sparse
from tensorflow._api.v2.compat.v1 import spectral
from tensorflow._api.v2.compat.v1 import strings
from tensorflow._api.v2.compat.v1 import summary
from tensorflow._api.v2.compat.v1 import sysconfig
from tensorflow._api.v2.compat.v1 import test
from tensorflow._api.v2.compat.v1 import tpu
from tensorflow._api.v2.compat.v1 import train
from tensorflow._api.v2.compat.v1 import types
from tensorflow._api.v2.compat.v1 import user_ops
from tensorflow._api.v2.compat.v1 import version
from tensorflow._api.v2.compat.v1 import xla
from tensorflow.python.ops.gen_array_ops import batch_to_space_nd # line: 343
from tensorflow.python.ops.gen_array_ops import bitcast # line: 558
from tensorflow.python.ops.gen_array_ops import broadcast_to # line: 829
from tensorflow.python.ops.gen_array_ops import check_numerics # line: 950
from tensorflow.python.ops.gen_array_ops import diag # line: 1949
from tensorflow.python.ops.gen_array_ops import extract_volume_patches # line: 2569
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_args # line: 2698
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_args_gradient # line: 2867
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars # line: 3003
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars_gradient # line: 3165
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars_per_channel # line: 3296
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars_per_channel_gradient # line: 3443
from tensorflow.python.ops.gen_array_ops import identity_n # line: 4268
from tensorflow.python.ops.gen_array_ops import invert_permutation # line: 4634
from tensorflow.python.ops.gen_array_ops import matrix_band_part # line: 4921
from tensorflow.python.ops.gen_array_ops import quantized_concat # line: 8244
from tensorflow.python.ops.gen_array_ops import reverse_v2 as reverse # line: 9182
from tensorflow.python.ops.gen_array_ops import reverse_v2 # line: 9182
from tensorflow.python.ops.gen_array_ops import scatter_nd # line: 9318
from tensorflow.python.ops.gen_array_ops import space_to_batch_nd # line: 10152
from tensorflow.python.ops.gen_array_ops import tensor_scatter_add # line: 11302
from tensorflow.python.ops.gen_array_ops import tensor_scatter_add as tensor_scatter_nd_add # line: 11302
from tensorflow.python.ops.gen_array_ops import tensor_scatter_max as tensor_scatter_nd_max # line: 11480
from tensorflow.python.ops.gen_array_ops import tensor_scatter_min as tensor_scatter_nd_min # line: 11601
from tensorflow.python.ops.gen_array_ops import tensor_scatter_sub as tensor_scatter_nd_sub # line: 11711
from tensorflow.python.ops.gen_array_ops import tensor_scatter_sub # line: 11711
from tensorflow.python.ops.gen_array_ops import tile # line: 12133
from tensorflow.python.ops.gen_array_ops import unravel_index # line: 12894
from tensorflow.python.ops.gen_control_flow_ops import no_op # line: 475
from tensorflow.python.ops.gen_data_flow_ops import dynamic_partition # line: 594
from tensorflow.python.ops.gen_data_flow_ops import dynamic_stitch # line: 736
from tensorflow.python.ops.gen_experimental_dataset_ops import check_pinned # line: 701
from tensorflow.python.ops.gen_io_ops import matching_files # line: 391
from tensorflow.python.ops.gen_io_ops import write_file # line: 2269
from tensorflow.python.ops.gen_linalg_ops import cholesky # line: 766
from tensorflow.python.ops.gen_linalg_ops import matrix_determinant # line: 1370
from tensorflow.python.ops.gen_linalg_ops import matrix_inverse # line: 1516
from tensorflow.python.ops.gen_linalg_ops import matrix_solve # line: 1694
from tensorflow.python.ops.gen_linalg_ops import matrix_square_root # line: 1913
from tensorflow.python.ops.gen_linalg_ops import qr # line: 2150
from tensorflow.python.ops.gen_logging_ops import timestamp # line: 886
from tensorflow.python.ops.gen_math_ops import acosh # line: 231
from tensorflow.python.ops.gen_math_ops import asin # line: 991
from tensorflow.python.ops.gen_math_ops import asinh # line: 1091
from tensorflow.python.ops.gen_math_ops import atan # line: 1184
from tensorflow.python.ops.gen_math_ops import atan2 # line: 1284
from tensorflow.python.ops.gen_math_ops import atanh # line: 1383
from tensorflow.python.ops.gen_math_ops import betainc # line: 1844
from tensorflow.python.ops.gen_math_ops import cos # line: 2521
from tensorflow.python.ops.gen_math_ops import cosh # line: 2615
from tensorflow.python.ops.gen_math_ops import cross # line: 2708
from tensorflow.python.ops.gen_math_ops import digamma # line: 3218
from tensorflow.python.ops.gen_math_ops import erf # line: 3511
from tensorflow.python.ops.gen_math_ops import erfc # line: 3603
from tensorflow.python.ops.gen_math_ops import expm1 # line: 3904
from tensorflow.python.ops.gen_math_ops import floor_div # line: 4059
from tensorflow.python.ops.gen_math_ops import floor_mod as floormod # line: 4149
from tensorflow.python.ops.gen_math_ops import greater # line: 4243
from tensorflow.python.ops.gen_math_ops import greater_equal # line: 4344
from tensorflow.python.ops.gen_math_ops import igamma # line: 4537
from tensorflow.python.ops.gen_math_ops import igammac # line: 4696
from tensorflow.python.ops.gen_math_ops import is_finite # line: 4992
from tensorflow.python.ops.gen_math_ops import is_inf # line: 5088
from tensorflow.python.ops.gen_math_ops import is_nan # line: 5184
from tensorflow.python.ops.gen_math_ops import less # line: 5280
from tensorflow.python.ops.gen_math_ops import less_equal # line: 5381
from tensorflow.python.ops.gen_math_ops import lgamma # line: 5482
from tensorflow.python.ops.gen_math_ops import log # line: 5652
from tensorflow.python.ops.gen_math_ops import log1p # line: 5746
from tensorflow.python.ops.gen_math_ops import logical_and # line: 5836
from tensorflow.python.ops.gen_math_ops import logical_not # line: 5975
from tensorflow.python.ops.gen_math_ops import logical_or # line: 6062
from tensorflow.python.ops.gen_math_ops import maximum # line: 6383
from tensorflow.python.ops.gen_math_ops import minimum # line: 6639
from tensorflow.python.ops.gen_math_ops import floor_mod as mod # line: 4149
from tensorflow.python.ops.gen_math_ops import neg as negative # line: 6986
from tensorflow.python.ops.gen_math_ops import polygamma # line: 7240
from tensorflow.python.ops.gen_math_ops import real_div as realdiv # line: 8141
from tensorflow.python.ops.gen_math_ops import reciprocal # line: 8232
from tensorflow.python.ops.gen_math_ops import rint # line: 8729
from tensorflow.python.ops.gen_math_ops import segment_max # line: 9003
from tensorflow.python.ops.gen_math_ops import segment_mean # line: 9237
from tensorflow.python.ops.gen_math_ops import segment_min # line: 9362
from tensorflow.python.ops.gen_math_ops import segment_prod # line: 9596
from tensorflow.python.ops.gen_math_ops import segment_sum # line: 9822
from tensorflow.python.ops.gen_math_ops import sin # line: 10372
from tensorflow.python.ops.gen_math_ops import sinh # line: 10465
from tensorflow.python.ops.gen_math_ops import square # line: 12035
from tensorflow.python.ops.gen_math_ops import squared_difference # line: 12124
from tensorflow.python.ops.gen_math_ops import tan # line: 12425
from tensorflow.python.ops.gen_math_ops import tanh # line: 12519
from tensorflow.python.ops.gen_math_ops import truncate_div as truncatediv # line: 12674
from tensorflow.python.ops.gen_math_ops import truncate_mod as truncatemod # line: 12768
from tensorflow.python.ops.gen_math_ops import unsorted_segment_max # line: 12862
from tensorflow.python.ops.gen_math_ops import unsorted_segment_min # line: 13000
from tensorflow.python.ops.gen_math_ops import unsorted_segment_prod # line: 13134
from tensorflow.python.ops.gen_math_ops import unsorted_segment_sum # line: 13268
from tensorflow.python.ops.gen_math_ops import zeta # line: 13603
from tensorflow.python.ops.gen_nn_ops import approx_top_k # line: 33
from tensorflow.python.ops.gen_nn_ops import conv # line: 1061
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_filter_v2 # line: 1609
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_input_v2 # line: 1977
from tensorflow.python.ops.gen_parsing_ops import decode_compressed # line: 144
from tensorflow.python.ops.gen_parsing_ops import parse_tensor # line: 2135
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows # line: 196
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows_grad # line: 305
from tensorflow.python.ops.gen_random_index_shuffle_ops import random_index_shuffle # line: 30
from tensorflow.python.ops.gen_spectral_ops import fft # line: 353
from tensorflow.python.ops.gen_spectral_ops import fft2d # line: 442
from tensorflow.python.ops.gen_spectral_ops import fft3d # line: 531
from tensorflow.python.ops.gen_spectral_ops import fftnd # line: 620
from tensorflow.python.ops.gen_spectral_ops import ifft # line: 724
from tensorflow.python.ops.gen_spectral_ops import ifft2d # line: 813
from tensorflow.python.ops.gen_spectral_ops import ifft3d # line: 902
from tensorflow.python.ops.gen_spectral_ops import ifftnd # line: 991
from tensorflow.python.ops.gen_spectral_ops import irfftnd # line: 1347
from tensorflow.python.ops.gen_spectral_ops import rfftnd # line: 1707
from tensorflow.python.ops.gen_string_ops import as_string # line: 29
from tensorflow.python.ops.gen_string_ops import decode_base64 # line: 182
from tensorflow.python.ops.gen_string_ops import encode_base64 # line: 269
from tensorflow.python.ops.gen_string_ops import string_strip # line: 1429
from tensorflow.python.ops.gen_string_ops import string_to_hash_bucket_fast # line: 1583
from tensorflow.python.ops.gen_string_ops import string_to_hash_bucket_strong # line: 1688
from tensorflow.python.client.session import InteractiveSession # line: 1725
from tensorflow.python.client.session import Session # line: 1546
from tensorflow.python.compat.v2_compat import disable_v2_behavior # line: 73
from tensorflow.python.compat.v2_compat import enable_v2_behavior # line: 39
from tensorflow.python.data.ops.optional_ops import OptionalSpec # line: 205
from tensorflow.python.eager.backprop import GradientTape # line: 704
from tensorflow.python.eager.context import executing_eagerly_v1 as executing_eagerly # line: 2636
from tensorflow.python.eager.polymorphic_function.polymorphic_function import function # line: 1305
from tensorflow.python.eager.wrap_function import wrap_function # line: 598
from tensorflow.python.framework.constant_op import constant_v1 as constant # line: 111
from tensorflow.python.framework.device_spec import DeviceSpecV1 as DeviceSpec # line: 420
from tensorflow.python.framework.dtypes import DType # line: 51
from tensorflow.python.framework.dtypes import QUANTIZED_DTYPES # line: 841
from tensorflow.python.framework.dtypes import as_dtype # line: 863
from tensorflow.python.framework.dtypes import bfloat16 # line: 420
from tensorflow.python.framework.dtypes import bool # line: 394
from tensorflow.python.framework.dtypes import complex128 # line: 382
from tensorflow.python.framework.dtypes import complex64 # line: 376
from tensorflow.python.framework.dtypes import double # line: 372
from tensorflow.python.framework.dtypes import float16 # line: 357
from tensorflow.python.framework.dtypes import float32 # line: 364
from tensorflow.python.framework.dtypes import float64 # line: 370
from tensorflow.python.framework.dtypes import half # line: 358
from tensorflow.python.framework.dtypes import int16 # line: 342
from tensorflow.python.framework.dtypes import int32 # line: 346
from tensorflow.python.framework.dtypes import int64 # line: 350
from tensorflow.python.framework.dtypes import int8 # line: 338
from tensorflow.python.framework.dtypes import qint16 # line: 402
from tensorflow.python.framework.dtypes import qint32 # line: 406
from tensorflow.python.framework.dtypes import qint8 # line: 398
from tensorflow.python.framework.dtypes import quint16 # line: 414
from tensorflow.python.framework.dtypes import quint8 # line: 410
from tensorflow.python.framework.dtypes import resource # line: 312
from tensorflow.python.framework.dtypes import string # line: 390
from tensorflow.python.framework.dtypes import uint16 # line: 326
from tensorflow.python.framework.dtypes import uint32 # line: 330
from tensorflow.python.framework.dtypes import uint64 # line: 334
from tensorflow.python.framework.dtypes import uint8 # line: 322
from tensorflow.python.framework.dtypes import variant # line: 318
from tensorflow.python.framework.errors_impl import OpError # line: 57
from tensorflow.python.framework.graph_util_impl import GraphDef # line: 29
from tensorflow.python.framework.importer import import_graph_def # line: 358
from tensorflow.python.framework.indexed_slices import IndexedSlices # line: 54
from tensorflow.python.framework.indexed_slices import IndexedSlicesSpec # line: 203
from tensorflow.python.framework.indexed_slices import convert_to_tensor_or_indexed_slices # line: 277
from tensorflow.python.framework.load_library import load_file_system_library # line: 79
from tensorflow.python.framework.load_library import load_library # line: 120
from tensorflow.python.framework.load_library import load_op_library # line: 31
from tensorflow.python.framework.ops import Graph # line: 1973
from tensorflow.python.framework.ops import GraphKeys # line: 5281
from tensorflow.python.framework.ops import no_gradient as NoGradient # line: 1748
from tensorflow.python.framework.ops import no_gradient as NotDifferentiable # line: 1748
from tensorflow.python.framework.ops import Operation # line: 1093
from tensorflow.python.framework.ops import RegisterGradient # line: 1699
from tensorflow.python.framework.ops import add_to_collection # line: 5439
from tensorflow.python.framework.ops import add_to_collections # line: 5459
from tensorflow.python.framework.ops import _colocate_with as colocate_with # line: 4549
from tensorflow.python.framework.ops import container # line: 4484
from tensorflow.python.framework.ops import control_dependencies # line: 4554
from tensorflow.python.framework.ops import device # line: 4409
from tensorflow.python.framework.ops import disable_eager_execution # line: 4995
from tensorflow.python.framework.ops import enable_eager_execution # line: 4917
from tensorflow.python.framework.ops import executing_eagerly_outside_functions # line: 4863
from tensorflow.python.framework.ops import get_collection # line: 5503
from tensorflow.python.framework.ops import get_collection_ref # line: 5479
from tensorflow.python.framework.ops import get_default_graph # line: 5142
from tensorflow.python.framework.ops import init_scope # line: 4758
from tensorflow.python.framework.ops import is_symbolic_tensor # line: 6222
from tensorflow.python.framework.ops import name_scope_v1 as name_scope # line: 5659
from tensorflow.python.framework.ops import no_gradient # line: 1748
from tensorflow.python.framework.ops import op_scope # line: 5897
from tensorflow.python.framework.ops import reset_default_graph # line: 5112
from tensorflow.python.framework.random_seed import get_seed # line: 38
from tensorflow.python.framework.random_seed import set_random_seed # line: 96
from tensorflow.python.framework.sparse_tensor import SparseTensor # line: 48
from tensorflow.python.framework.sparse_tensor import SparseTensorSpec # line: 377
from tensorflow.python.framework.sparse_tensor import SparseTensorValue # line: 374
from tensorflow.python.framework.sparse_tensor import convert_to_tensor_or_sparse_tensor # line: 534
from tensorflow.python.framework.stack import get_default_session # line: 122
from tensorflow.python.framework.tensor import Tensor # line: 138
from tensorflow.python.framework.tensor import TensorSpec # line: 916
from tensorflow.python.framework.tensor import disable_tensor_equality # line: 782
from tensorflow.python.framework.tensor import enable_tensor_equality # line: 768
from tensorflow.python.framework.tensor_conversion import convert_to_tensor_v1_with_dispatch as convert_to_tensor # line: 33
from tensorflow.python.framework.tensor_conversion_registry import register_tensor_conversion_function # line: 80
from tensorflow.python.framework.tensor_shape import Dimension # line: 188
from tensorflow.python.framework.tensor_shape import TensorShape # line: 747
from tensorflow.python.framework.tensor_shape import dimension_at_index # line: 139
from tensorflow.python.framework.tensor_shape import dimension_value # line: 103
from tensorflow.python.framework.tensor_shape import disable_v2_tensorshape # line: 91
from tensorflow.python.framework.tensor_shape import enable_v2_tensorshape # line: 38
from tensorflow.python.framework.tensor_util import constant_value as get_static_value # line: 994
from tensorflow.python.framework.tensor_util import is_tf_type as is_tensor # line: 1226
from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray # line: 729
from tensorflow.python.framework.tensor_util import make_tensor_proto # line: 521
from tensorflow.python.framework.type_spec import TypeSpec # line: 49
from tensorflow.python.framework.type_spec import type_spec_from_value # line: 960
from tensorflow.python.framework.versions import COMPILER_VERSION # line: 41
from tensorflow.python.framework.versions import CXX11_ABI_FLAG # line: 48
from tensorflow.python.framework.versions import CXX_VERSION # line: 54
from tensorflow.python.framework.versions import GIT_VERSION # line: 35
from tensorflow.python.framework.versions import GRAPH_DEF_VERSION # line: 68
from tensorflow.python.framework.versions import GRAPH_DEF_VERSION_MIN_CONSUMER # line: 74
from tensorflow.python.framework.versions import GRAPH_DEF_VERSION_MIN_PRODUCER # line: 82
from tensorflow.python.framework.versions import MONOLITHIC_BUILD # line: 60
from tensorflow.python.framework.versions import VERSION # line: 29
from tensorflow.python.framework.versions import COMPILER_VERSION as __compiler_version__ # line: 41
from tensorflow.python.framework.versions import CXX11_ABI_FLAG as __cxx11_abi_flag__ # line: 48
from tensorflow.python.framework.versions import CXX_VERSION as __cxx_version__ # line: 54
from tensorflow.python.framework.versions import GIT_VERSION as __git_version__ # line: 35
from tensorflow.python.framework.versions import MONOLITHIC_BUILD as __monolithic_build__ # line: 60
from tensorflow.python.framework.versions import VERSION as __version__ # line: 29
from tensorflow.python.module.module import Module # line: 29
from tensorflow.python.ops.array_ops import batch_gather # line: 5016
from tensorflow.python.ops.array_ops import batch_to_space # line: 3831
from tensorflow.python.ops.array_ops import boolean_mask # line: 1444
from tensorflow.python.ops.array_ops import broadcast_dynamic_shape # line: 527
from tensorflow.python.ops.array_ops import broadcast_static_shape # line: 561
from tensorflow.python.ops.array_ops import concat # line: 1349
from tensorflow.python.ops.array_ops import depth_to_space # line: 3812
from tensorflow.python.ops.array_ops import dequantize # line: 5918
from tensorflow.python.ops.array_ops import tensor_diag_part as diag_part # line: 2387
from tensorflow.python.ops.array_ops import edit_distance # line: 3523
from tensorflow.python.ops.array_ops import expand_dims # line: 318
from tensorflow.python.ops.array_ops import extract_image_patches # line: 6317
from tensorflow.python.ops.array_ops import fill # line: 204
from tensorflow.python.ops.array_ops import fingerprint # line: 6366
from tensorflow.python.ops.array_ops import gather # line: 4780
from tensorflow.python.ops.array_ops import gather_nd # line: 5155
from tensorflow.python.ops.array_ops import guarantee_const # line: 6705
from tensorflow.python.ops.array_ops import identity # line: 253
from tensorflow.python.ops.array_ops import matrix_diag # line: 2075
from tensorflow.python.ops.array_ops import matrix_diag_part # line: 2244
from tensorflow.python.ops.array_ops import matrix_set_diag # line: 2432
from tensorflow.python.ops.array_ops import matrix_transpose # line: 1995
from tensorflow.python.ops.array_ops import meshgrid # line: 3377
from tensorflow.python.ops.array_ops import newaxis # line: 60
from tensorflow.python.ops.array_ops import one_hot # line: 3987
from tensorflow.python.ops.array_ops import ones # line: 2916
from tensorflow.python.ops.array_ops import ones_like # line: 2814
from tensorflow.python.ops.array_ops import pad # line: 3255
from tensorflow.python.ops.array_ops import parallel_stack # line: 1135
from tensorflow.python.ops.array_ops import placeholder # line: 2975
from tensorflow.python.ops.array_ops import placeholder_with_default # line: 3030
from tensorflow.python.ops.array_ops import quantize # line: 5879
from tensorflow.python.ops.array_ops import quantize_v2 # line: 5825
from tensorflow.python.ops.array_ops import rank # line: 878
from tensorflow.python.ops.array_ops import repeat # line: 6651
from tensorflow.python.ops.array_ops import required_space_to_batch_paddings # line: 3681
from tensorflow.python.ops.array_ops import reshape # line: 63
from tensorflow.python.ops.array_ops import reverse_sequence # line: 4657
from tensorflow.python.ops.array_ops import searchsorted # line: 6109
from tensorflow.python.ops.array_ops import sequence_mask # line: 4165
from tensorflow.python.ops.array_ops import setdiff1d # line: 483
from tensorflow.python.ops.array_ops import shape # line: 658
from tensorflow.python.ops.array_ops import shape_n # line: 731
from tensorflow.python.ops.array_ops import size # line: 801
from tensorflow.python.ops.array_ops import slice # line: 939
from tensorflow.python.ops.array_ops import space_to_batch # line: 3760
from tensorflow.python.ops.array_ops import space_to_depth # line: 3793
from tensorflow.python.ops.array_ops import sparse_mask # line: 1598
from tensorflow.python.ops.array_ops import sparse_placeholder # line: 3082
from tensorflow.python.ops.array_ops import split # line: 1743
from tensorflow.python.ops.array_ops import squeeze # line: 4232
from tensorflow.python.ops.array_ops import stop_gradient # line: 6724
from tensorflow.python.ops.array_ops import strided_slice # line: 995
from tensorflow.python.ops.array_ops import tensor_scatter_nd_update # line: 5536
from tensorflow.python.ops.array_ops import tensor_scatter_nd_update as tensor_scatter_update # line: 5536
from tensorflow.python.ops.array_ops import transpose # line: 1906
from tensorflow.python.ops.array_ops import unique # line: 1642
from tensorflow.python.ops.array_ops import unique_with_counts # line: 1690
from tensorflow.python.ops.array_ops import where # line: 4363
from tensorflow.python.ops.array_ops import where_v2 # line: 4444
from tensorflow.python.ops.array_ops import zeros # line: 2598
from tensorflow.python.ops.array_ops import zeros_like # line: 2660
from tensorflow.python.ops.array_ops_stack import stack # line: 24
from tensorflow.python.ops.array_ops_stack import unstack # line: 88
from tensorflow.python.ops.batch_ops import batch_function as nondifferentiable_batch_function # line: 28
from tensorflow.python.ops.bincount_ops import bincount_v1 as bincount # line: 190
from tensorflow.python.ops.check_ops import assert_equal # line: 770
from tensorflow.python.ops.check_ops import assert_greater # line: 987
from tensorflow.python.ops.check_ops import assert_greater_equal # line: 1005
from tensorflow.python.ops.check_ops import assert_integer # line: 1455
from tensorflow.python.ops.check_ops import assert_less # line: 950
from tensorflow.python.ops.check_ops import assert_less_equal # line: 968
from tensorflow.python.ops.check_ops import assert_near # line: 858
from tensorflow.python.ops.check_ops import assert_negative # line: 576
from tensorflow.python.ops.check_ops import assert_non_negative # line: 685
from tensorflow.python.ops.check_ops import assert_non_positive # line: 741
from tensorflow.python.ops.check_ops import assert_none_equal # line: 792
from tensorflow.python.ops.check_ops import assert_positive # line: 630
from tensorflow.python.ops.check_ops import assert_proper_iterable # line: 511
from tensorflow.python.ops.check_ops import assert_rank # line: 1098
from tensorflow.python.ops.check_ops import assert_rank_at_least # line: 1196
from tensorflow.python.ops.check_ops import assert_rank_in # line: 1362
from tensorflow.python.ops.check_ops import assert_same_float_dtype # line: 2126
from tensorflow.python.ops.check_ops import assert_scalar # line: 2184
from tensorflow.python.ops.check_ops import assert_type # line: 1529
from tensorflow.python.ops.check_ops import ensure_shape # line: 2226
from tensorflow.python.ops.check_ops import is_non_decreasing # line: 1996
from tensorflow.python.ops.check_ops import is_numeric_tensor # line: 1961
from tensorflow.python.ops.check_ops import is_strictly_increasing # line: 2037
from tensorflow.python.ops.clip_ops import clip_by_average_norm # line: 400
from tensorflow.python.ops.clip_ops import clip_by_global_norm # line: 298
from tensorflow.python.ops.clip_ops import clip_by_norm # line: 152
from tensorflow.python.ops.clip_ops import clip_by_value # line: 34
from tensorflow.python.ops.clip_ops import global_norm # line: 245
from tensorflow.python.ops.cond import cond # line: 39
from tensorflow.python.ops.confusion_matrix import confusion_matrix_v1 as confusion_matrix # line: 199
from tensorflow.python.ops.control_flow_assert import Assert # line: 62
from tensorflow.python.ops.control_flow_case import case # line: 138
from tensorflow.python.ops.control_flow_ops import group # line: 1958
from tensorflow.python.ops.control_flow_ops import tuple # line: 2106
from tensorflow.python.ops.control_flow_switch_case import switch_case # line: 181
from tensorflow.python.ops.control_flow_v2_toggles import control_flow_v2_enabled # line: 63
from tensorflow.python.ops.control_flow_v2_toggles import disable_control_flow_v2 # line: 47
from tensorflow.python.ops.control_flow_v2_toggles import enable_control_flow_v2 # line: 24
from tensorflow.python.ops.critical_section_ops import CriticalSection # line: 121
from tensorflow.python.ops.custom_gradient import custom_gradient # line: 45
from tensorflow.python.ops.custom_gradient import grad_pass_through # line: 773
from tensorflow.python.ops.custom_gradient import recompute_grad # line: 600
from tensorflow.python.ops.data_flow_ops import ConditionalAccumulator # line: 1385
from tensorflow.python.ops.data_flow_ops import ConditionalAccumulatorBase # line: 1305
from tensorflow.python.ops.data_flow_ops import FIFOQueue # line: 772
from tensorflow.python.ops.data_flow_ops import PaddingFIFOQueue # line: 912
from tensorflow.python.ops.data_flow_ops import PriorityQueue # line: 988
from tensorflow.python.ops.data_flow_ops import QueueBase # line: 115
from tensorflow.python.ops.data_flow_ops import RandomShuffleQueue # line: 682
from tensorflow.python.ops.data_flow_ops import SparseConditionalAccumulator # line: 1476
from tensorflow.python.ops.functional_ops import foldl # line: 42
from tensorflow.python.ops.functional_ops import foldr # line: 238
from tensorflow.python.ops.functional_ops import scan # line: 435
from tensorflow.python.ops.gradients_impl import gradients # line: 55
from tensorflow.python.ops.gradients_impl import hessians # line: 388
from tensorflow.python.ops.gradients_util import AggregationMethod # line: 952
from tensorflow.python.ops.histogram_ops import histogram_fixed_width # line: 103
from tensorflow.python.ops.histogram_ops import histogram_fixed_width_bins # line: 31
from tensorflow.python.ops.init_ops import Constant as constant_initializer # line: 219
from tensorflow.python.ops.init_ops import GlorotNormal as glorot_normal_initializer # line: 1627
from tensorflow.python.ops.init_ops import GlorotUniform as glorot_uniform_initializer # line: 1595
from tensorflow.python.ops.init_ops import Ones as ones_initializer # line: 182
from tensorflow.python.ops.init_ops import Orthogonal as orthogonal_initializer # line: 895
from tensorflow.python.ops.init_ops import RandomNormal as random_normal_initializer # line: 487
from tensorflow.python.ops.init_ops import RandomUniform as random_uniform_initializer # line: 397
from tensorflow.python.ops.init_ops import TruncatedNormal as truncated_normal_initializer # line: 577
from tensorflow.python.ops.init_ops import UniformUnitScaling as uniform_unit_scaling_initializer # line: 673
from tensorflow.python.ops.init_ops import VarianceScaling as variance_scaling_initializer # line: 741
from tensorflow.python.ops.init_ops import Zeros as zeros_initializer # line: 97
from tensorflow.python.ops.io_ops import FixedLengthRecordReader # line: 495
from tensorflow.python.ops.io_ops import IdentityReader # line: 605
from tensorflow.python.ops.io_ops import LMDBReader # line: 575
from tensorflow.python.ops.io_ops import ReaderBase # line: 217
from tensorflow.python.ops.io_ops import TFRecordReader # line: 541
from tensorflow.python.ops.io_ops import TextLineReader # line: 462
from tensorflow.python.ops.io_ops import WholeFileReader # line: 431
from tensorflow.python.ops.io_ops import read_file # line: 97
from tensorflow.python.ops.io_ops import serialize_tensor # line: 137
from tensorflow.python.ops.linalg_ops import cholesky_solve # line: 147
from tensorflow.python.ops.linalg_ops import eye # line: 196
from tensorflow.python.ops.linalg_ops import matrix_solve_ls # line: 244
from tensorflow.python.ops.linalg_ops import matrix_triangular_solve # line: 84
from tensorflow.python.ops.linalg_ops import norm # line: 633
from tensorflow.python.ops.linalg_ops import self_adjoint_eig # line: 441
from tensorflow.python.ops.linalg_ops import self_adjoint_eigvals # line: 465
from tensorflow.python.ops.linalg_ops import svd # line: 489
from tensorflow.python.ops.logging_ops import Print # line: 75
from tensorflow.python.ops.logging_ops import print_v2 as print # line: 147
from tensorflow.python.ops.lookup_ops import initialize_all_tables # line: 52
from tensorflow.python.ops.lookup_ops import tables_initializer # line: 67
from tensorflow.python.ops.manip_ops import roll # line: 27
from tensorflow.python.ops.map_fn import map_fn # line: 41
from tensorflow.python.ops.math_ops import abs # line: 361
from tensorflow.python.ops.math_ops import accumulate_n # line: 4025
from tensorflow.python.ops.math_ops import acos # line: 5842
from tensorflow.python.ops.math_ops import add # line: 3884
from tensorflow.python.ops.math_ops import add_n # line: 3965
from tensorflow.python.ops.math_ops import angle # line: 865
from tensorflow.python.ops.math_ops import arg_max # line: 233
from tensorflow.python.ops.math_ops import arg_min # line: 234
from tensorflow.python.ops.math_ops import argmax # line: 247
from tensorflow.python.ops.math_ops import argmin # line: 301
from tensorflow.python.ops.math_ops import cast # line: 940
from tensorflow.python.ops.math_ops import ceil # line: 5672
from tensorflow.python.ops.math_ops import complex # line: 695
from tensorflow.python.ops.math_ops import conj # line: 4398
from tensorflow.python.ops.math_ops import count_nonzero # line: 2318
from tensorflow.python.ops.math_ops import cumprod # line: 4288
from tensorflow.python.ops.math_ops import cumsum # line: 4216
from tensorflow.python.ops.math_ops import div # line: 1532
from tensorflow.python.ops.math_ops import div_no_nan # line: 1564
from tensorflow.python.ops.math_ops import divide # line: 442
from tensorflow.python.ops.math_ops import equal # line: 1828
from tensorflow.python.ops.math_ops import exp # line: 5739
from tensorflow.python.ops.math_ops import floor # line: 5873
from tensorflow.python.ops.math_ops import floordiv # line: 1672
from tensorflow.python.ops.math_ops import imag # line: 831
from tensorflow.python.ops.math_ops import linspace_nd as lin_space # line: 113
from tensorflow.python.ops.math_ops import linspace_nd as linspace # line: 113
from tensorflow.python.ops.math_ops import log_sigmoid # line: 4171
from tensorflow.python.ops.math_ops import logical_xor # line: 1752
from tensorflow.python.ops.math_ops import matmul # line: 3443
from tensorflow.python.ops.math_ops import multiply # line: 477
from tensorflow.python.ops.math_ops import not_equal # line: 1865
from tensorflow.python.ops.math_ops import pow # line: 665
from tensorflow.python.ops.math_ops import range # line: 1984
from tensorflow.python.ops.math_ops import real # line: 790
from tensorflow.python.ops.math_ops import reduce_all_v1 as reduce_all # line: 3074
from tensorflow.python.ops.math_ops import reduce_any_v1 as reduce_any # line: 3180
from tensorflow.python.ops.math_ops import reduce_logsumexp_v1 as reduce_logsumexp # line: 3286
from tensorflow.python.ops.math_ops import reduce_max_v1 as reduce_max # line: 2949
from tensorflow.python.ops.math_ops import reduce_mean_v1 as reduce_mean # line: 2472
from tensorflow.python.ops.math_ops import reduce_min_v1 as reduce_min # line: 2821
from tensorflow.python.ops.math_ops import reduce_prod_v1 as reduce_prod # line: 2762
from tensorflow.python.ops.math_ops import reduce_sum_v1 as reduce_sum # line: 2115
from tensorflow.python.ops.math_ops import round # line: 910
from tensorflow.python.ops.math_ops import rsqrt # line: 5817
from tensorflow.python.ops.math_ops import saturate_cast # line: 1025
from tensorflow.python.ops.math_ops import scalar_mul # line: 588
from tensorflow.python.ops.math_ops import sigmoid # line: 4118
from tensorflow.python.ops.math_ops import sign # line: 743
from tensorflow.python.ops.math_ops import sparse_matmul # line: 3821
from tensorflow.python.ops.math_ops import sparse_segment_mean # line: 5005
from tensorflow.python.ops.math_ops import sparse_segment_sqrt_n # line: 5117
from tensorflow.python.ops.math_ops import sparse_segment_sum # line: 4639
from tensorflow.python.ops.math_ops import sqrt # line: 5700
from tensorflow.python.ops.math_ops import subtract # line: 541
from tensorflow.python.ops.math_ops import tensordot # line: 5215
from tensorflow.python.ops.math_ops import to_bfloat16 # line: 1289
from tensorflow.python.ops.math_ops import to_complex128 # line: 1369
from tensorflow.python.ops.math_ops import to_complex64 # line: 1329
from tensorflow.python.ops.math_ops import to_double # line: 1169
from tensorflow.python.ops.math_ops import to_float # line: 1129
from tensorflow.python.ops.math_ops import to_int32 # line: 1209
from tensorflow.python.ops.math_ops import to_int64 # line: 1249
from tensorflow.python.ops.math_ops import trace # line: 3399
from tensorflow.python.ops.math_ops import truediv # line: 1477
from tensorflow.python.ops.math_ops import unsorted_segment_mean # line: 4526
from tensorflow.python.ops.math_ops import unsorted_segment_sqrt_n # line: 4581
from tensorflow.python.ops.numerics import add_check_numerics_ops # line: 81
from tensorflow.python.ops.numerics import verify_tensor_all_finite # line: 28
from tensorflow.python.ops.parallel_for.control_flow_ops import vectorized_map # line: 452
from tensorflow.python.ops.parsing_config import FixedLenFeature # line: 298
from tensorflow.python.ops.parsing_config import FixedLenSequenceFeature # line: 318
from tensorflow.python.ops.parsing_config import SparseFeature # line: 223
from tensorflow.python.ops.parsing_config import VarLenFeature # line: 44
from tensorflow.python.ops.parsing_ops import decode_csv # line: 1020
from tensorflow.python.ops.parsing_ops import decode_json_example # line: 1149
from tensorflow.python.ops.parsing_ops import decode_raw_v1 as decode_raw # line: 975
from tensorflow.python.ops.parsing_ops import parse_example # line: 310
from tensorflow.python.ops.parsing_ops import parse_single_example # line: 370
from tensorflow.python.ops.parsing_ops import parse_single_sequence_example # line: 693
from tensorflow.python.ops.partitioned_variables import create_partitioned_variables # line: 275
from tensorflow.python.ops.partitioned_variables import fixed_size_partitioner # line: 220
from tensorflow.python.ops.partitioned_variables import min_max_variable_partitioner # line: 154
from tensorflow.python.ops.partitioned_variables import variable_axis_size_partitioner # line: 67
from tensorflow.python.ops.ragged.ragged_string_ops import string_split # line: 529
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensor # line: 65
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensorSpec # line: 2319
from tensorflow.python.ops.random_crop_ops import random_crop # line: 30
from tensorflow.python.ops.random_ops import multinomial # line: 362
from tensorflow.python.ops.random_ops import random_gamma # line: 451
from tensorflow.python.ops.random_ops import random_normal # line: 39
from tensorflow.python.ops.random_ops import random_poisson # line: 545
from tensorflow.python.ops.random_ops import random_shuffle # line: 326
from tensorflow.python.ops.random_ops import random_uniform # line: 211
from tensorflow.python.ops.random_ops import truncated_normal # line: 155
from tensorflow.python.ops.resource_variables_toggle import disable_resource_variables # line: 55
from tensorflow.python.ops.resource_variables_toggle import enable_resource_variables # line: 31
from tensorflow.python.ops.resource_variables_toggle import resource_variables_enabled # line: 68
from tensorflow.python.ops.script_ops import numpy_function # line: 807
from tensorflow.python.ops.script_ops import py_func # line: 798
from tensorflow.python.ops.script_ops import eager_py_func as py_function # line: 460
from tensorflow.python.ops.session_ops import delete_session_tensor # line: 220
from tensorflow.python.ops.session_ops import get_session_handle # line: 136
from tensorflow.python.ops.session_ops import get_session_tensor # line: 179
from tensorflow.python.ops.sort_ops import argsort # line: 86
from tensorflow.python.ops.sort_ops import sort # line: 29
from tensorflow.python.ops.sparse_ops import deserialize_many_sparse # line: 2356
from tensorflow.python.ops.sparse_ops import serialize_many_sparse # line: 2224
from tensorflow.python.ops.sparse_ops import serialize_sparse # line: 2176
from tensorflow.python.ops.sparse_ops import sparse_add # line: 460
from tensorflow.python.ops.sparse_ops import sparse_concat # line: 284
from tensorflow.python.ops.sparse_ops import sparse_fill_empty_rows # line: 2109
from tensorflow.python.ops.sparse_ops import sparse_maximum # line: 2734
from tensorflow.python.ops.sparse_ops import sparse_merge # line: 1802
from tensorflow.python.ops.sparse_ops import sparse_minimum # line: 2780
from tensorflow.python.ops.sparse_ops import sparse_reduce_max # line: 1341
from tensorflow.python.ops.sparse_ops import sparse_reduce_max_sparse # line: 1427
from tensorflow.python.ops.sparse_ops import sparse_reduce_sum # line: 1559
from tensorflow.python.ops.sparse_ops import sparse_reduce_sum_sparse # line: 1628
from tensorflow.python.ops.sparse_ops import sparse_reorder # line: 821
from tensorflow.python.ops.sparse_ops import sparse_reset_shape # line: 2004
from tensorflow.python.ops.sparse_ops import sparse_reshape # line: 876
from tensorflow.python.ops.sparse_ops import sparse_retain # line: 1957
from tensorflow.python.ops.sparse_ops import sparse_slice # line: 1136
from tensorflow.python.ops.sparse_ops import sparse_softmax # line: 2671
from tensorflow.python.ops.sparse_ops import sparse_split # line: 991
from tensorflow.python.ops.sparse_ops import sparse_tensor_dense_matmul # line: 2430
from tensorflow.python.ops.sparse_ops import sparse_tensor_to_dense # line: 1681
from tensorflow.python.ops.sparse_ops import sparse_to_dense # line: 1186
from tensorflow.python.ops.sparse_ops import sparse_to_indicator # line: 1737
from tensorflow.python.ops.sparse_ops import sparse_transpose # line: 2824
from tensorflow.python.ops.special_math_ops import einsum # line: 618
from tensorflow.python.ops.special_math_ops import lbeta # line: 45
from tensorflow.python.ops.state_ops import assign # line: 277
from tensorflow.python.ops.state_ops import assign_add # line: 205
from tensorflow.python.ops.state_ops import assign_sub # line: 133
from tensorflow.python.ops.state_ops import batch_scatter_update # line: 946
from tensorflow.python.ops.state_ops import count_up_to # line: 359
from tensorflow.python.ops.state_ops import scatter_add # line: 499
from tensorflow.python.ops.state_ops import scatter_div # line: 784
from tensorflow.python.ops.state_ops import scatter_max # line: 836
from tensorflow.python.ops.state_ops import scatter_min # line: 891
from tensorflow.python.ops.state_ops import scatter_mul # line: 732
from tensorflow.python.ops.state_ops import scatter_nd_add # line: 551
from tensorflow.python.ops.state_ops import scatter_nd_sub # line: 668
from tensorflow.python.ops.state_ops import scatter_nd_update # line: 437
from tensorflow.python.ops.state_ops import scatter_sub # line: 614
from tensorflow.python.ops.state_ops import scatter_update # line: 383
from tensorflow.python.ops.string_ops import reduce_join # line: 305
from tensorflow.python.ops.string_ops import regex_replace # line: 74
from tensorflow.python.ops.string_ops import string_join # line: 551
from tensorflow.python.ops.string_ops import string_to_hash_bucket_v1 as string_to_hash_bucket # line: 536
from tensorflow.python.ops.string_ops import string_to_number_v1 as string_to_number # line: 491
from tensorflow.python.ops.string_ops import substr_deprecated as substr # line: 422
from tensorflow.python.ops.template import make_template # line: 33
from tensorflow.python.ops.tensor_array_ops import TensorArray # line: 971
from tensorflow.python.ops.tensor_array_ops import TensorArraySpec # line: 1363
from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients # line: 22
from tensorflow.python.ops.variable_scope import AUTO_REUSE # line: 194
from tensorflow.python.ops.variable_scope import VariableScope # line: 1058
from tensorflow.python.ops.variable_scope import get_local_variable # line: 1725
from tensorflow.python.ops.variable_scope import get_variable # line: 1549
from tensorflow.python.ops.variable_scope import get_variable_scope # line: 1415
from tensorflow.python.ops.variable_scope import no_regularizer # line: 1051
from tensorflow.python.ops.variable_scope import variable_creator_scope_v1 as variable_creator_scope # line: 2643
from tensorflow.python.ops.variable_scope import variable_op_scope # line: 2531
from tensorflow.python.ops.variable_scope import variable_scope # line: 2091
from tensorflow.python.ops.variable_v1 import VariableV1 as Variable # line: 51
from tensorflow.python.ops.variable_v1 import is_variable_initialized # line: 24
from tensorflow.python.ops.variables import VariableAggregation # line: 142
from tensorflow.python.ops.variables import VariableSynchronization # line: 64
from tensorflow.python.ops.variables import all_variables # line: 1805
from tensorflow.python.ops.variables import assert_variables_initialized # line: 2020
from tensorflow.python.ops.variables import global_variables # line: 1770
from tensorflow.python.ops.variables import global_variables_initializer # line: 1966
from tensorflow.python.ops.variables import initialize_all_variables # line: 1985
from tensorflow.python.ops.variables import initialize_local_variables # line: 2012
from tensorflow.python.ops.variables import initialize_variables # line: 1958
from tensorflow.python.ops.variables import local_variables # line: 1830
from tensorflow.python.ops.variables import local_variables_initializer # line: 1993
from tensorflow.python.ops.variables import model_variables # line: 1858
from tensorflow.python.ops.variables import moving_average_variables # line: 1905
from tensorflow.python.ops.variables import report_uninitialized_variables # line: 2063
from tensorflow.python.ops.variables import trainable_variables # line: 1875
from tensorflow.python.ops.variables import variables_initializer # line: 1927
from tensorflow.python.ops.while_loop import while_loop # line: 255
from tensorflow.python.platform.tf_logging import get_logger # line: 93
from tensorflow.python.proto_exports import AttrValue # line: 26
from tensorflow.python.proto_exports import ConfigProto # line: 27
from tensorflow.python.proto_exports import Event # line: 28
from tensorflow.python.proto_exports import GPUOptions # line: 29
from tensorflow.python.proto_exports import GraphOptions # line: 30
from tensorflow.python.proto_exports import HistogramProto # line: 31
from tensorflow.python.proto_exports import LogMessage # line: 34
from tensorflow.python.proto_exports import MetaGraphDef # line: 35
from tensorflow.python.proto_exports import NameAttrList # line: 38
from tensorflow.python.proto_exports import NodeDef # line: 41
from tensorflow.python.proto_exports import OptimizerOptions # line: 42
from tensorflow.python.proto_exports import RunMetadata # line: 45
from tensorflow.python.proto_exports import RunOptions # line: 46
from tensorflow.python.proto_exports import SessionLog # line: 47
from tensorflow.python.proto_exports import Summary # line: 50
from tensorflow.python.proto_exports import SummaryMetadata # line: 56
from tensorflow.python.proto_exports import TensorInfo # line: 62
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "", public_apis=None, deprecation=False,
has_lite=False)
# Hook external TensorFlow modules.
_current_module = _sys.modules[__name__]
# Lazy load Keras v1
_tf_uses_legacy_keras = (
_os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v1.keras")
else:
_module_dir = _module_util.get_parent_dir_for_name("keras.api._v1.keras")
_current_module.__path__ = [_module_dir] + _current_module.__path__
from tensorflow.python.platform import flags # pylint: disable=g-import-not-at-top
_current_module.app.flags = flags # pylint: disable=undefined-variable
setattr(_current_module, "flags", flags)
# Add module aliases from Keras to TF.
# Some tf endpoints actually lives under Keras.
_current_module.layers = _KerasLazyLoader(
globals(),
submodule="__internal__.legacy.layers",
name="layers",
mode="v1")
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name(
"tf_keras.api._v1.keras.__internal__.legacy.layers")
else:
_module_dir = _module_util.get_parent_dir_for_name(
"keras.api._v1.keras.__internal__.legacy.layers")
_current_module.__path__ = [_module_dir] + _current_module.__path__
_current_module.nn.rnn_cell = _KerasLazyLoader(
globals(),
submodule="__internal__.legacy.rnn_cell",
name="rnn_cell",
mode="v1")
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name(
"tf_keras.api._v1.keras.__internal__.legacy.rnn_cell")
else:
_module_dir = _module_util.get_parent_dir_for_name(
"keras.api._v1.keras.__internal__.legacy.rnn_cell")
_current_module.nn.__path__ = [_module_dir] + _current_module.nn.__path__
@@ -0,0 +1,16 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__ namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.__internal__ import types
from tensorflow.python.framework.ops import SymbolicTensor # line: 259
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "__internal__", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.types namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.__internal__.types import data
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "__internal__.types", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.__internal__.types.data namespace
"""
import sys as _sys
from tensorflow.python.types.data import DatasetV1 as Dataset # line: 27
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "__internal__.types.data", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.app namespace
"""
import sys as _sys
from tensorflow.python.platform.app import run # line: 30
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "app", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,16 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.audio namespace
"""
import sys as _sys
from tensorflow.python.ops.gen_audio_ops import decode_wav # line: 136
from tensorflow.python.ops.gen_audio_ops import encode_wav # line: 263
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "audio", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,19 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.autograph namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.autograph import experimental
from tensorflow.python.autograph.impl.api import to_code_v1 as to_code # line: 850
from tensorflow.python.autograph.impl.api import to_graph_v1 as to_graph # line: 779
from tensorflow.python.autograph.utils.ag_logging import set_verbosity # line: 36
from tensorflow.python.autograph.utils.ag_logging import trace # line: 87
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "autograph", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,17 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.autograph.experimental namespace
"""
import sys as _sys
from tensorflow.python.autograph.core.converter import Feature # line: 78
from tensorflow.python.autograph.impl.api import do_not_convert # line: 624
from tensorflow.python.autograph.lang.directives import set_loop_options # line: 45
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "autograph.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,20 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.bitwise namespace
"""
import sys as _sys
from tensorflow.python.ops.gen_bitwise_ops import bitwise_and # line: 29
from tensorflow.python.ops.gen_bitwise_ops import bitwise_or # line: 135
from tensorflow.python.ops.gen_bitwise_ops import bitwise_xor # line: 241
from tensorflow.python.ops.gen_bitwise_ops import invert # line: 347
from tensorflow.python.ops.gen_bitwise_ops import left_shift # line: 471
from tensorflow.python.ops.gen_bitwise_ops import right_shift # line: 651
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "bitwise", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,29 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.compat namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.compat import v1
from tensorflow._api.v2.compat.v1.compat import v2
from tensorflow.python.compat.compat import forward_compatibility_horizon # line: 125
from tensorflow.python.compat.compat import forward_compatible # line: 65
from tensorflow.python.framework.tensor_shape import dimension_at_index # line: 139
from tensorflow.python.framework.tensor_shape import dimension_value # line: 103
from tensorflow.python.util.compat import as_bytes # line: 130
from tensorflow.python.util.compat import as_str # line: 131
from tensorflow.python.util.compat import as_str_any # line: 134
from tensorflow.python.util.compat import as_text # line: 129
from tensorflow.python.util.compat import bytes_or_text_types # line: 225
from tensorflow.python.util.compat import complex_types # line: 221
from tensorflow.python.util.compat import integral_types # line: 217
from tensorflow.python.util.compat import path_to_str # line: 154
from tensorflow.python.util.compat import real_types # line: 219
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "compat", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,734 @@
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Bring in all of the public TensorFlow interface into this module."""
# pylint: disable=g-bad-import-order,g-import-not-at-top,protected-access
import os as _os
import sys as _sys
from tensorflow.python.tools import module_util as _module_util
from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
from tensorflow._api.v2.compat.v1 import __internal__
from tensorflow._api.v2.compat.v1 import app
from tensorflow._api.v2.compat.v1 import audio
from tensorflow._api.v2.compat.v1 import autograph
from tensorflow._api.v2.compat.v1 import bitwise
from tensorflow._api.v2.compat.v1 import compat
from tensorflow._api.v2.compat.v1 import config
from tensorflow._api.v2.compat.v1 import data
from tensorflow._api.v2.compat.v1 import debugging
from tensorflow._api.v2.compat.v1 import distribute
from tensorflow._api.v2.compat.v1 import distributions
from tensorflow._api.v2.compat.v1 import dtypes
from tensorflow._api.v2.compat.v1 import errors
from tensorflow._api.v2.compat.v1 import experimental
from tensorflow._api.v2.compat.v1 import feature_column
from tensorflow._api.v2.compat.v1 import gfile
from tensorflow._api.v2.compat.v1 import graph_util
from tensorflow._api.v2.compat.v1 import image
from tensorflow._api.v2.compat.v1 import initializers
from tensorflow._api.v2.compat.v1 import io
from tensorflow._api.v2.compat.v1 import layers
from tensorflow._api.v2.compat.v1 import linalg
from tensorflow._api.v2.compat.v1 import lite
from tensorflow._api.v2.compat.v1 import logging
from tensorflow._api.v2.compat.v1 import lookup
from tensorflow._api.v2.compat.v1 import losses
from tensorflow._api.v2.compat.v1 import manip
from tensorflow._api.v2.compat.v1 import math
from tensorflow._api.v2.compat.v1 import metrics
from tensorflow._api.v2.compat.v1 import mixed_precision
from tensorflow._api.v2.compat.v1 import mlir
from tensorflow._api.v2.compat.v1 import nest
from tensorflow._api.v2.compat.v1 import nn
from tensorflow._api.v2.compat.v1 import profiler
from tensorflow._api.v2.compat.v1 import python_io
from tensorflow._api.v2.compat.v1 import quantization
from tensorflow._api.v2.compat.v1 import queue
from tensorflow._api.v2.compat.v1 import ragged
from tensorflow._api.v2.compat.v1 import random
from tensorflow._api.v2.compat.v1 import raw_ops
from tensorflow._api.v2.compat.v1 import resource_loader
from tensorflow._api.v2.compat.v1 import saved_model
from tensorflow._api.v2.compat.v1 import sets
from tensorflow._api.v2.compat.v1 import signal
from tensorflow._api.v2.compat.v1 import sparse
from tensorflow._api.v2.compat.v1 import spectral
from tensorflow._api.v2.compat.v1 import strings
from tensorflow._api.v2.compat.v1 import summary
from tensorflow._api.v2.compat.v1 import sysconfig
from tensorflow._api.v2.compat.v1 import test
from tensorflow._api.v2.compat.v1 import tpu
from tensorflow._api.v2.compat.v1 import train
from tensorflow._api.v2.compat.v1 import types
from tensorflow._api.v2.compat.v1 import user_ops
from tensorflow._api.v2.compat.v1 import version
from tensorflow._api.v2.compat.v1 import xla
from tensorflow.python.ops.gen_array_ops import batch_to_space_nd # line: 343
from tensorflow.python.ops.gen_array_ops import bitcast # line: 558
from tensorflow.python.ops.gen_array_ops import broadcast_to # line: 829
from tensorflow.python.ops.gen_array_ops import check_numerics # line: 950
from tensorflow.python.ops.gen_array_ops import diag # line: 1949
from tensorflow.python.ops.gen_array_ops import extract_volume_patches # line: 2569
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_args # line: 2698
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_args_gradient # line: 2867
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars # line: 3003
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars_gradient # line: 3165
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars_per_channel # line: 3296
from tensorflow.python.ops.gen_array_ops import fake_quant_with_min_max_vars_per_channel_gradient # line: 3443
from tensorflow.python.ops.gen_array_ops import identity_n # line: 4268
from tensorflow.python.ops.gen_array_ops import invert_permutation # line: 4634
from tensorflow.python.ops.gen_array_ops import matrix_band_part # line: 4921
from tensorflow.python.ops.gen_array_ops import quantized_concat # line: 8244
from tensorflow.python.ops.gen_array_ops import reverse_v2 as reverse # line: 9182
from tensorflow.python.ops.gen_array_ops import reverse_v2 # line: 9182
from tensorflow.python.ops.gen_array_ops import scatter_nd # line: 9318
from tensorflow.python.ops.gen_array_ops import space_to_batch_nd # line: 10152
from tensorflow.python.ops.gen_array_ops import tensor_scatter_add # line: 11302
from tensorflow.python.ops.gen_array_ops import tensor_scatter_add as tensor_scatter_nd_add # line: 11302
from tensorflow.python.ops.gen_array_ops import tensor_scatter_max as tensor_scatter_nd_max # line: 11480
from tensorflow.python.ops.gen_array_ops import tensor_scatter_min as tensor_scatter_nd_min # line: 11601
from tensorflow.python.ops.gen_array_ops import tensor_scatter_sub as tensor_scatter_nd_sub # line: 11711
from tensorflow.python.ops.gen_array_ops import tensor_scatter_sub # line: 11711
from tensorflow.python.ops.gen_array_ops import tile # line: 12133
from tensorflow.python.ops.gen_array_ops import unravel_index # line: 12894
from tensorflow.python.ops.gen_control_flow_ops import no_op # line: 475
from tensorflow.python.ops.gen_data_flow_ops import dynamic_partition # line: 594
from tensorflow.python.ops.gen_data_flow_ops import dynamic_stitch # line: 736
from tensorflow.python.ops.gen_experimental_dataset_ops import check_pinned # line: 701
from tensorflow.python.ops.gen_io_ops import matching_files # line: 391
from tensorflow.python.ops.gen_io_ops import write_file # line: 2269
from tensorflow.python.ops.gen_linalg_ops import cholesky # line: 766
from tensorflow.python.ops.gen_linalg_ops import matrix_determinant # line: 1370
from tensorflow.python.ops.gen_linalg_ops import matrix_inverse # line: 1516
from tensorflow.python.ops.gen_linalg_ops import matrix_solve # line: 1694
from tensorflow.python.ops.gen_linalg_ops import matrix_square_root # line: 1913
from tensorflow.python.ops.gen_linalg_ops import qr # line: 2150
from tensorflow.python.ops.gen_logging_ops import timestamp # line: 886
from tensorflow.python.ops.gen_math_ops import acosh # line: 231
from tensorflow.python.ops.gen_math_ops import asin # line: 991
from tensorflow.python.ops.gen_math_ops import asinh # line: 1091
from tensorflow.python.ops.gen_math_ops import atan # line: 1184
from tensorflow.python.ops.gen_math_ops import atan2 # line: 1284
from tensorflow.python.ops.gen_math_ops import atanh # line: 1383
from tensorflow.python.ops.gen_math_ops import betainc # line: 1844
from tensorflow.python.ops.gen_math_ops import cos # line: 2521
from tensorflow.python.ops.gen_math_ops import cosh # line: 2615
from tensorflow.python.ops.gen_math_ops import cross # line: 2708
from tensorflow.python.ops.gen_math_ops import digamma # line: 3218
from tensorflow.python.ops.gen_math_ops import erf # line: 3511
from tensorflow.python.ops.gen_math_ops import erfc # line: 3603
from tensorflow.python.ops.gen_math_ops import expm1 # line: 3904
from tensorflow.python.ops.gen_math_ops import floor_div # line: 4059
from tensorflow.python.ops.gen_math_ops import floor_mod as floormod # line: 4149
from tensorflow.python.ops.gen_math_ops import greater # line: 4243
from tensorflow.python.ops.gen_math_ops import greater_equal # line: 4344
from tensorflow.python.ops.gen_math_ops import igamma # line: 4537
from tensorflow.python.ops.gen_math_ops import igammac # line: 4696
from tensorflow.python.ops.gen_math_ops import is_finite # line: 4992
from tensorflow.python.ops.gen_math_ops import is_inf # line: 5088
from tensorflow.python.ops.gen_math_ops import is_nan # line: 5184
from tensorflow.python.ops.gen_math_ops import less # line: 5280
from tensorflow.python.ops.gen_math_ops import less_equal # line: 5381
from tensorflow.python.ops.gen_math_ops import lgamma # line: 5482
from tensorflow.python.ops.gen_math_ops import log # line: 5652
from tensorflow.python.ops.gen_math_ops import log1p # line: 5746
from tensorflow.python.ops.gen_math_ops import logical_and # line: 5836
from tensorflow.python.ops.gen_math_ops import logical_not # line: 5975
from tensorflow.python.ops.gen_math_ops import logical_or # line: 6062
from tensorflow.python.ops.gen_math_ops import maximum # line: 6383
from tensorflow.python.ops.gen_math_ops import minimum # line: 6639
from tensorflow.python.ops.gen_math_ops import floor_mod as mod # line: 4149
from tensorflow.python.ops.gen_math_ops import neg as negative # line: 6986
from tensorflow.python.ops.gen_math_ops import polygamma # line: 7240
from tensorflow.python.ops.gen_math_ops import real_div as realdiv # line: 8141
from tensorflow.python.ops.gen_math_ops import reciprocal # line: 8232
from tensorflow.python.ops.gen_math_ops import rint # line: 8729
from tensorflow.python.ops.gen_math_ops import segment_max # line: 9003
from tensorflow.python.ops.gen_math_ops import segment_mean # line: 9237
from tensorflow.python.ops.gen_math_ops import segment_min # line: 9362
from tensorflow.python.ops.gen_math_ops import segment_prod # line: 9596
from tensorflow.python.ops.gen_math_ops import segment_sum # line: 9822
from tensorflow.python.ops.gen_math_ops import sin # line: 10372
from tensorflow.python.ops.gen_math_ops import sinh # line: 10465
from tensorflow.python.ops.gen_math_ops import square # line: 12035
from tensorflow.python.ops.gen_math_ops import squared_difference # line: 12124
from tensorflow.python.ops.gen_math_ops import tan # line: 12425
from tensorflow.python.ops.gen_math_ops import tanh # line: 12519
from tensorflow.python.ops.gen_math_ops import truncate_div as truncatediv # line: 12674
from tensorflow.python.ops.gen_math_ops import truncate_mod as truncatemod # line: 12768
from tensorflow.python.ops.gen_math_ops import unsorted_segment_max # line: 12862
from tensorflow.python.ops.gen_math_ops import unsorted_segment_min # line: 13000
from tensorflow.python.ops.gen_math_ops import unsorted_segment_prod # line: 13134
from tensorflow.python.ops.gen_math_ops import unsorted_segment_sum # line: 13268
from tensorflow.python.ops.gen_math_ops import zeta # line: 13603
from tensorflow.python.ops.gen_nn_ops import approx_top_k # line: 33
from tensorflow.python.ops.gen_nn_ops import conv # line: 1061
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_filter_v2 # line: 1609
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_input_v2 # line: 1977
from tensorflow.python.ops.gen_parsing_ops import decode_compressed # line: 144
from tensorflow.python.ops.gen_parsing_ops import parse_tensor # line: 2135
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows # line: 196
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows_grad # line: 305
from tensorflow.python.ops.gen_random_index_shuffle_ops import random_index_shuffle # line: 30
from tensorflow.python.ops.gen_spectral_ops import fft # line: 353
from tensorflow.python.ops.gen_spectral_ops import fft2d # line: 442
from tensorflow.python.ops.gen_spectral_ops import fft3d # line: 531
from tensorflow.python.ops.gen_spectral_ops import fftnd # line: 620
from tensorflow.python.ops.gen_spectral_ops import ifft # line: 724
from tensorflow.python.ops.gen_spectral_ops import ifft2d # line: 813
from tensorflow.python.ops.gen_spectral_ops import ifft3d # line: 902
from tensorflow.python.ops.gen_spectral_ops import ifftnd # line: 991
from tensorflow.python.ops.gen_spectral_ops import irfftnd # line: 1347
from tensorflow.python.ops.gen_spectral_ops import rfftnd # line: 1707
from tensorflow.python.ops.gen_string_ops import as_string # line: 29
from tensorflow.python.ops.gen_string_ops import decode_base64 # line: 182
from tensorflow.python.ops.gen_string_ops import encode_base64 # line: 269
from tensorflow.python.ops.gen_string_ops import string_strip # line: 1429
from tensorflow.python.ops.gen_string_ops import string_to_hash_bucket_fast # line: 1583
from tensorflow.python.ops.gen_string_ops import string_to_hash_bucket_strong # line: 1688
from tensorflow.python.client.session import InteractiveSession # line: 1725
from tensorflow.python.client.session import Session # line: 1546
from tensorflow.python.compat.v2_compat import disable_v2_behavior # line: 73
from tensorflow.python.compat.v2_compat import enable_v2_behavior # line: 39
from tensorflow.python.data.ops.optional_ops import OptionalSpec # line: 205
from tensorflow.python.eager.backprop import GradientTape # line: 704
from tensorflow.python.eager.context import executing_eagerly_v1 as executing_eagerly # line: 2636
from tensorflow.python.eager.polymorphic_function.polymorphic_function import function # line: 1305
from tensorflow.python.eager.wrap_function import wrap_function # line: 598
from tensorflow.python.framework.constant_op import constant_v1 as constant # line: 111
from tensorflow.python.framework.device_spec import DeviceSpecV1 as DeviceSpec # line: 420
from tensorflow.python.framework.dtypes import DType # line: 51
from tensorflow.python.framework.dtypes import QUANTIZED_DTYPES # line: 841
from tensorflow.python.framework.dtypes import as_dtype # line: 863
from tensorflow.python.framework.dtypes import bfloat16 # line: 420
from tensorflow.python.framework.dtypes import bool # line: 394
from tensorflow.python.framework.dtypes import complex128 # line: 382
from tensorflow.python.framework.dtypes import complex64 # line: 376
from tensorflow.python.framework.dtypes import double # line: 372
from tensorflow.python.framework.dtypes import float16 # line: 357
from tensorflow.python.framework.dtypes import float32 # line: 364
from tensorflow.python.framework.dtypes import float64 # line: 370
from tensorflow.python.framework.dtypes import half # line: 358
from tensorflow.python.framework.dtypes import int16 # line: 342
from tensorflow.python.framework.dtypes import int32 # line: 346
from tensorflow.python.framework.dtypes import int64 # line: 350
from tensorflow.python.framework.dtypes import int8 # line: 338
from tensorflow.python.framework.dtypes import qint16 # line: 402
from tensorflow.python.framework.dtypes import qint32 # line: 406
from tensorflow.python.framework.dtypes import qint8 # line: 398
from tensorflow.python.framework.dtypes import quint16 # line: 414
from tensorflow.python.framework.dtypes import quint8 # line: 410
from tensorflow.python.framework.dtypes import resource # line: 312
from tensorflow.python.framework.dtypes import string # line: 390
from tensorflow.python.framework.dtypes import uint16 # line: 326
from tensorflow.python.framework.dtypes import uint32 # line: 330
from tensorflow.python.framework.dtypes import uint64 # line: 334
from tensorflow.python.framework.dtypes import uint8 # line: 322
from tensorflow.python.framework.dtypes import variant # line: 318
from tensorflow.python.framework.errors_impl import OpError # line: 57
from tensorflow.python.framework.graph_util_impl import GraphDef # line: 29
from tensorflow.python.framework.importer import import_graph_def # line: 358
from tensorflow.python.framework.indexed_slices import IndexedSlices # line: 54
from tensorflow.python.framework.indexed_slices import IndexedSlicesSpec # line: 203
from tensorflow.python.framework.indexed_slices import convert_to_tensor_or_indexed_slices # line: 277
from tensorflow.python.framework.load_library import load_file_system_library # line: 79
from tensorflow.python.framework.load_library import load_library # line: 120
from tensorflow.python.framework.load_library import load_op_library # line: 31
from tensorflow.python.framework.ops import Graph # line: 1973
from tensorflow.python.framework.ops import GraphKeys # line: 5281
from tensorflow.python.framework.ops import no_gradient as NoGradient # line: 1748
from tensorflow.python.framework.ops import no_gradient as NotDifferentiable # line: 1748
from tensorflow.python.framework.ops import Operation # line: 1093
from tensorflow.python.framework.ops import RegisterGradient # line: 1699
from tensorflow.python.framework.ops import add_to_collection # line: 5439
from tensorflow.python.framework.ops import add_to_collections # line: 5459
from tensorflow.python.framework.ops import _colocate_with as colocate_with # line: 4549
from tensorflow.python.framework.ops import container # line: 4484
from tensorflow.python.framework.ops import control_dependencies # line: 4554
from tensorflow.python.framework.ops import device # line: 4409
from tensorflow.python.framework.ops import disable_eager_execution # line: 4995
from tensorflow.python.framework.ops import enable_eager_execution # line: 4917
from tensorflow.python.framework.ops import executing_eagerly_outside_functions # line: 4863
from tensorflow.python.framework.ops import get_collection # line: 5503
from tensorflow.python.framework.ops import get_collection_ref # line: 5479
from tensorflow.python.framework.ops import get_default_graph # line: 5142
from tensorflow.python.framework.ops import init_scope # line: 4758
from tensorflow.python.framework.ops import is_symbolic_tensor # line: 6222
from tensorflow.python.framework.ops import name_scope_v1 as name_scope # line: 5659
from tensorflow.python.framework.ops import no_gradient # line: 1748
from tensorflow.python.framework.ops import op_scope # line: 5897
from tensorflow.python.framework.ops import reset_default_graph # line: 5112
from tensorflow.python.framework.random_seed import get_seed # line: 38
from tensorflow.python.framework.random_seed import set_random_seed # line: 96
from tensorflow.python.framework.sparse_tensor import SparseTensor # line: 48
from tensorflow.python.framework.sparse_tensor import SparseTensorSpec # line: 377
from tensorflow.python.framework.sparse_tensor import SparseTensorValue # line: 374
from tensorflow.python.framework.sparse_tensor import convert_to_tensor_or_sparse_tensor # line: 534
from tensorflow.python.framework.stack import get_default_session # line: 122
from tensorflow.python.framework.tensor import Tensor # line: 138
from tensorflow.python.framework.tensor import TensorSpec # line: 916
from tensorflow.python.framework.tensor import disable_tensor_equality # line: 782
from tensorflow.python.framework.tensor import enable_tensor_equality # line: 768
from tensorflow.python.framework.tensor_conversion import convert_to_tensor_v1_with_dispatch as convert_to_tensor # line: 33
from tensorflow.python.framework.tensor_conversion_registry import register_tensor_conversion_function # line: 80
from tensorflow.python.framework.tensor_shape import Dimension # line: 188
from tensorflow.python.framework.tensor_shape import TensorShape # line: 747
from tensorflow.python.framework.tensor_shape import dimension_at_index # line: 139
from tensorflow.python.framework.tensor_shape import dimension_value # line: 103
from tensorflow.python.framework.tensor_shape import disable_v2_tensorshape # line: 91
from tensorflow.python.framework.tensor_shape import enable_v2_tensorshape # line: 38
from tensorflow.python.framework.tensor_util import constant_value as get_static_value # line: 994
from tensorflow.python.framework.tensor_util import is_tf_type as is_tensor # line: 1226
from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray # line: 729
from tensorflow.python.framework.tensor_util import make_tensor_proto # line: 521
from tensorflow.python.framework.type_spec import TypeSpec # line: 49
from tensorflow.python.framework.type_spec import type_spec_from_value # line: 960
from tensorflow.python.framework.versions import COMPILER_VERSION # line: 41
from tensorflow.python.framework.versions import CXX11_ABI_FLAG # line: 48
from tensorflow.python.framework.versions import CXX_VERSION # line: 54
from tensorflow.python.framework.versions import GIT_VERSION # line: 35
from tensorflow.python.framework.versions import GRAPH_DEF_VERSION # line: 68
from tensorflow.python.framework.versions import GRAPH_DEF_VERSION_MIN_CONSUMER # line: 74
from tensorflow.python.framework.versions import GRAPH_DEF_VERSION_MIN_PRODUCER # line: 82
from tensorflow.python.framework.versions import MONOLITHIC_BUILD # line: 60
from tensorflow.python.framework.versions import VERSION # line: 29
from tensorflow.python.framework.versions import COMPILER_VERSION as __compiler_version__ # line: 41
from tensorflow.python.framework.versions import CXX11_ABI_FLAG as __cxx11_abi_flag__ # line: 48
from tensorflow.python.framework.versions import CXX_VERSION as __cxx_version__ # line: 54
from tensorflow.python.framework.versions import GIT_VERSION as __git_version__ # line: 35
from tensorflow.python.framework.versions import MONOLITHIC_BUILD as __monolithic_build__ # line: 60
from tensorflow.python.framework.versions import VERSION as __version__ # line: 29
from tensorflow.python.module.module import Module # line: 29
from tensorflow.python.ops.array_ops import batch_gather # line: 5016
from tensorflow.python.ops.array_ops import batch_to_space # line: 3831
from tensorflow.python.ops.array_ops import boolean_mask # line: 1444
from tensorflow.python.ops.array_ops import broadcast_dynamic_shape # line: 527
from tensorflow.python.ops.array_ops import broadcast_static_shape # line: 561
from tensorflow.python.ops.array_ops import concat # line: 1349
from tensorflow.python.ops.array_ops import depth_to_space # line: 3812
from tensorflow.python.ops.array_ops import dequantize # line: 5918
from tensorflow.python.ops.array_ops import tensor_diag_part as diag_part # line: 2387
from tensorflow.python.ops.array_ops import edit_distance # line: 3523
from tensorflow.python.ops.array_ops import expand_dims # line: 318
from tensorflow.python.ops.array_ops import extract_image_patches # line: 6317
from tensorflow.python.ops.array_ops import fill # line: 204
from tensorflow.python.ops.array_ops import fingerprint # line: 6366
from tensorflow.python.ops.array_ops import gather # line: 4780
from tensorflow.python.ops.array_ops import gather_nd # line: 5155
from tensorflow.python.ops.array_ops import guarantee_const # line: 6705
from tensorflow.python.ops.array_ops import identity # line: 253
from tensorflow.python.ops.array_ops import matrix_diag # line: 2075
from tensorflow.python.ops.array_ops import matrix_diag_part # line: 2244
from tensorflow.python.ops.array_ops import matrix_set_diag # line: 2432
from tensorflow.python.ops.array_ops import matrix_transpose # line: 1995
from tensorflow.python.ops.array_ops import meshgrid # line: 3377
from tensorflow.python.ops.array_ops import newaxis # line: 60
from tensorflow.python.ops.array_ops import one_hot # line: 3987
from tensorflow.python.ops.array_ops import ones # line: 2916
from tensorflow.python.ops.array_ops import ones_like # line: 2814
from tensorflow.python.ops.array_ops import pad # line: 3255
from tensorflow.python.ops.array_ops import parallel_stack # line: 1135
from tensorflow.python.ops.array_ops import placeholder # line: 2975
from tensorflow.python.ops.array_ops import placeholder_with_default # line: 3030
from tensorflow.python.ops.array_ops import quantize # line: 5879
from tensorflow.python.ops.array_ops import quantize_v2 # line: 5825
from tensorflow.python.ops.array_ops import rank # line: 878
from tensorflow.python.ops.array_ops import repeat # line: 6651
from tensorflow.python.ops.array_ops import required_space_to_batch_paddings # line: 3681
from tensorflow.python.ops.array_ops import reshape # line: 63
from tensorflow.python.ops.array_ops import reverse_sequence # line: 4657
from tensorflow.python.ops.array_ops import searchsorted # line: 6109
from tensorflow.python.ops.array_ops import sequence_mask # line: 4165
from tensorflow.python.ops.array_ops import setdiff1d # line: 483
from tensorflow.python.ops.array_ops import shape # line: 658
from tensorflow.python.ops.array_ops import shape_n # line: 731
from tensorflow.python.ops.array_ops import size # line: 801
from tensorflow.python.ops.array_ops import slice # line: 939
from tensorflow.python.ops.array_ops import space_to_batch # line: 3760
from tensorflow.python.ops.array_ops import space_to_depth # line: 3793
from tensorflow.python.ops.array_ops import sparse_mask # line: 1598
from tensorflow.python.ops.array_ops import sparse_placeholder # line: 3082
from tensorflow.python.ops.array_ops import split # line: 1743
from tensorflow.python.ops.array_ops import squeeze # line: 4232
from tensorflow.python.ops.array_ops import stop_gradient # line: 6724
from tensorflow.python.ops.array_ops import strided_slice # line: 995
from tensorflow.python.ops.array_ops import tensor_scatter_nd_update # line: 5536
from tensorflow.python.ops.array_ops import tensor_scatter_nd_update as tensor_scatter_update # line: 5536
from tensorflow.python.ops.array_ops import transpose # line: 1906
from tensorflow.python.ops.array_ops import unique # line: 1642
from tensorflow.python.ops.array_ops import unique_with_counts # line: 1690
from tensorflow.python.ops.array_ops import where # line: 4363
from tensorflow.python.ops.array_ops import where_v2 # line: 4444
from tensorflow.python.ops.array_ops import zeros # line: 2598
from tensorflow.python.ops.array_ops import zeros_like # line: 2660
from tensorflow.python.ops.array_ops_stack import stack # line: 24
from tensorflow.python.ops.array_ops_stack import unstack # line: 88
from tensorflow.python.ops.batch_ops import batch_function as nondifferentiable_batch_function # line: 28
from tensorflow.python.ops.bincount_ops import bincount_v1 as bincount # line: 190
from tensorflow.python.ops.check_ops import assert_equal # line: 770
from tensorflow.python.ops.check_ops import assert_greater # line: 987
from tensorflow.python.ops.check_ops import assert_greater_equal # line: 1005
from tensorflow.python.ops.check_ops import assert_integer # line: 1455
from tensorflow.python.ops.check_ops import assert_less # line: 950
from tensorflow.python.ops.check_ops import assert_less_equal # line: 968
from tensorflow.python.ops.check_ops import assert_near # line: 858
from tensorflow.python.ops.check_ops import assert_negative # line: 576
from tensorflow.python.ops.check_ops import assert_non_negative # line: 685
from tensorflow.python.ops.check_ops import assert_non_positive # line: 741
from tensorflow.python.ops.check_ops import assert_none_equal # line: 792
from tensorflow.python.ops.check_ops import assert_positive # line: 630
from tensorflow.python.ops.check_ops import assert_proper_iterable # line: 511
from tensorflow.python.ops.check_ops import assert_rank # line: 1098
from tensorflow.python.ops.check_ops import assert_rank_at_least # line: 1196
from tensorflow.python.ops.check_ops import assert_rank_in # line: 1362
from tensorflow.python.ops.check_ops import assert_same_float_dtype # line: 2126
from tensorflow.python.ops.check_ops import assert_scalar # line: 2184
from tensorflow.python.ops.check_ops import assert_type # line: 1529
from tensorflow.python.ops.check_ops import ensure_shape # line: 2226
from tensorflow.python.ops.check_ops import is_non_decreasing # line: 1996
from tensorflow.python.ops.check_ops import is_numeric_tensor # line: 1961
from tensorflow.python.ops.check_ops import is_strictly_increasing # line: 2037
from tensorflow.python.ops.clip_ops import clip_by_average_norm # line: 400
from tensorflow.python.ops.clip_ops import clip_by_global_norm # line: 298
from tensorflow.python.ops.clip_ops import clip_by_norm # line: 152
from tensorflow.python.ops.clip_ops import clip_by_value # line: 34
from tensorflow.python.ops.clip_ops import global_norm # line: 245
from tensorflow.python.ops.cond import cond # line: 39
from tensorflow.python.ops.confusion_matrix import confusion_matrix_v1 as confusion_matrix # line: 199
from tensorflow.python.ops.control_flow_assert import Assert # line: 62
from tensorflow.python.ops.control_flow_case import case # line: 138
from tensorflow.python.ops.control_flow_ops import group # line: 1958
from tensorflow.python.ops.control_flow_ops import tuple # line: 2106
from tensorflow.python.ops.control_flow_switch_case import switch_case # line: 181
from tensorflow.python.ops.control_flow_v2_toggles import control_flow_v2_enabled # line: 63
from tensorflow.python.ops.control_flow_v2_toggles import disable_control_flow_v2 # line: 47
from tensorflow.python.ops.control_flow_v2_toggles import enable_control_flow_v2 # line: 24
from tensorflow.python.ops.critical_section_ops import CriticalSection # line: 121
from tensorflow.python.ops.custom_gradient import custom_gradient # line: 45
from tensorflow.python.ops.custom_gradient import grad_pass_through # line: 773
from tensorflow.python.ops.custom_gradient import recompute_grad # line: 600
from tensorflow.python.ops.data_flow_ops import ConditionalAccumulator # line: 1385
from tensorflow.python.ops.data_flow_ops import ConditionalAccumulatorBase # line: 1305
from tensorflow.python.ops.data_flow_ops import FIFOQueue # line: 772
from tensorflow.python.ops.data_flow_ops import PaddingFIFOQueue # line: 912
from tensorflow.python.ops.data_flow_ops import PriorityQueue # line: 988
from tensorflow.python.ops.data_flow_ops import QueueBase # line: 115
from tensorflow.python.ops.data_flow_ops import RandomShuffleQueue # line: 682
from tensorflow.python.ops.data_flow_ops import SparseConditionalAccumulator # line: 1476
from tensorflow.python.ops.functional_ops import foldl # line: 42
from tensorflow.python.ops.functional_ops import foldr # line: 238
from tensorflow.python.ops.functional_ops import scan # line: 435
from tensorflow.python.ops.gradients_impl import gradients # line: 55
from tensorflow.python.ops.gradients_impl import hessians # line: 388
from tensorflow.python.ops.gradients_util import AggregationMethod # line: 952
from tensorflow.python.ops.histogram_ops import histogram_fixed_width # line: 103
from tensorflow.python.ops.histogram_ops import histogram_fixed_width_bins # line: 31
from tensorflow.python.ops.init_ops import Constant as constant_initializer # line: 219
from tensorflow.python.ops.init_ops import GlorotNormal as glorot_normal_initializer # line: 1627
from tensorflow.python.ops.init_ops import GlorotUniform as glorot_uniform_initializer # line: 1595
from tensorflow.python.ops.init_ops import Ones as ones_initializer # line: 182
from tensorflow.python.ops.init_ops import Orthogonal as orthogonal_initializer # line: 895
from tensorflow.python.ops.init_ops import RandomNormal as random_normal_initializer # line: 487
from tensorflow.python.ops.init_ops import RandomUniform as random_uniform_initializer # line: 397
from tensorflow.python.ops.init_ops import TruncatedNormal as truncated_normal_initializer # line: 577
from tensorflow.python.ops.init_ops import UniformUnitScaling as uniform_unit_scaling_initializer # line: 673
from tensorflow.python.ops.init_ops import VarianceScaling as variance_scaling_initializer # line: 741
from tensorflow.python.ops.init_ops import Zeros as zeros_initializer # line: 97
from tensorflow.python.ops.io_ops import FixedLengthRecordReader # line: 495
from tensorflow.python.ops.io_ops import IdentityReader # line: 605
from tensorflow.python.ops.io_ops import LMDBReader # line: 575
from tensorflow.python.ops.io_ops import ReaderBase # line: 217
from tensorflow.python.ops.io_ops import TFRecordReader # line: 541
from tensorflow.python.ops.io_ops import TextLineReader # line: 462
from tensorflow.python.ops.io_ops import WholeFileReader # line: 431
from tensorflow.python.ops.io_ops import read_file # line: 97
from tensorflow.python.ops.io_ops import serialize_tensor # line: 137
from tensorflow.python.ops.linalg_ops import cholesky_solve # line: 147
from tensorflow.python.ops.linalg_ops import eye # line: 196
from tensorflow.python.ops.linalg_ops import matrix_solve_ls # line: 244
from tensorflow.python.ops.linalg_ops import matrix_triangular_solve # line: 84
from tensorflow.python.ops.linalg_ops import norm # line: 633
from tensorflow.python.ops.linalg_ops import self_adjoint_eig # line: 441
from tensorflow.python.ops.linalg_ops import self_adjoint_eigvals # line: 465
from tensorflow.python.ops.linalg_ops import svd # line: 489
from tensorflow.python.ops.logging_ops import Print # line: 75
from tensorflow.python.ops.logging_ops import print_v2 as print # line: 147
from tensorflow.python.ops.lookup_ops import initialize_all_tables # line: 52
from tensorflow.python.ops.lookup_ops import tables_initializer # line: 67
from tensorflow.python.ops.manip_ops import roll # line: 27
from tensorflow.python.ops.map_fn import map_fn # line: 41
from tensorflow.python.ops.math_ops import abs # line: 361
from tensorflow.python.ops.math_ops import accumulate_n # line: 4025
from tensorflow.python.ops.math_ops import acos # line: 5842
from tensorflow.python.ops.math_ops import add # line: 3884
from tensorflow.python.ops.math_ops import add_n # line: 3965
from tensorflow.python.ops.math_ops import angle # line: 865
from tensorflow.python.ops.math_ops import arg_max # line: 233
from tensorflow.python.ops.math_ops import arg_min # line: 234
from tensorflow.python.ops.math_ops import argmax # line: 247
from tensorflow.python.ops.math_ops import argmin # line: 301
from tensorflow.python.ops.math_ops import cast # line: 940
from tensorflow.python.ops.math_ops import ceil # line: 5672
from tensorflow.python.ops.math_ops import complex # line: 695
from tensorflow.python.ops.math_ops import conj # line: 4398
from tensorflow.python.ops.math_ops import count_nonzero # line: 2318
from tensorflow.python.ops.math_ops import cumprod # line: 4288
from tensorflow.python.ops.math_ops import cumsum # line: 4216
from tensorflow.python.ops.math_ops import div # line: 1532
from tensorflow.python.ops.math_ops import div_no_nan # line: 1564
from tensorflow.python.ops.math_ops import divide # line: 442
from tensorflow.python.ops.math_ops import equal # line: 1828
from tensorflow.python.ops.math_ops import exp # line: 5739
from tensorflow.python.ops.math_ops import floor # line: 5873
from tensorflow.python.ops.math_ops import floordiv # line: 1672
from tensorflow.python.ops.math_ops import imag # line: 831
from tensorflow.python.ops.math_ops import linspace_nd as lin_space # line: 113
from tensorflow.python.ops.math_ops import linspace_nd as linspace # line: 113
from tensorflow.python.ops.math_ops import log_sigmoid # line: 4171
from tensorflow.python.ops.math_ops import logical_xor # line: 1752
from tensorflow.python.ops.math_ops import matmul # line: 3443
from tensorflow.python.ops.math_ops import multiply # line: 477
from tensorflow.python.ops.math_ops import not_equal # line: 1865
from tensorflow.python.ops.math_ops import pow # line: 665
from tensorflow.python.ops.math_ops import range # line: 1984
from tensorflow.python.ops.math_ops import real # line: 790
from tensorflow.python.ops.math_ops import reduce_all_v1 as reduce_all # line: 3074
from tensorflow.python.ops.math_ops import reduce_any_v1 as reduce_any # line: 3180
from tensorflow.python.ops.math_ops import reduce_logsumexp_v1 as reduce_logsumexp # line: 3286
from tensorflow.python.ops.math_ops import reduce_max_v1 as reduce_max # line: 2949
from tensorflow.python.ops.math_ops import reduce_mean_v1 as reduce_mean # line: 2472
from tensorflow.python.ops.math_ops import reduce_min_v1 as reduce_min # line: 2821
from tensorflow.python.ops.math_ops import reduce_prod_v1 as reduce_prod # line: 2762
from tensorflow.python.ops.math_ops import reduce_sum_v1 as reduce_sum # line: 2115
from tensorflow.python.ops.math_ops import round # line: 910
from tensorflow.python.ops.math_ops import rsqrt # line: 5817
from tensorflow.python.ops.math_ops import saturate_cast # line: 1025
from tensorflow.python.ops.math_ops import scalar_mul # line: 588
from tensorflow.python.ops.math_ops import sigmoid # line: 4118
from tensorflow.python.ops.math_ops import sign # line: 743
from tensorflow.python.ops.math_ops import sparse_matmul # line: 3821
from tensorflow.python.ops.math_ops import sparse_segment_mean # line: 5005
from tensorflow.python.ops.math_ops import sparse_segment_sqrt_n # line: 5117
from tensorflow.python.ops.math_ops import sparse_segment_sum # line: 4639
from tensorflow.python.ops.math_ops import sqrt # line: 5700
from tensorflow.python.ops.math_ops import subtract # line: 541
from tensorflow.python.ops.math_ops import tensordot # line: 5215
from tensorflow.python.ops.math_ops import to_bfloat16 # line: 1289
from tensorflow.python.ops.math_ops import to_complex128 # line: 1369
from tensorflow.python.ops.math_ops import to_complex64 # line: 1329
from tensorflow.python.ops.math_ops import to_double # line: 1169
from tensorflow.python.ops.math_ops import to_float # line: 1129
from tensorflow.python.ops.math_ops import to_int32 # line: 1209
from tensorflow.python.ops.math_ops import to_int64 # line: 1249
from tensorflow.python.ops.math_ops import trace # line: 3399
from tensorflow.python.ops.math_ops import truediv # line: 1477
from tensorflow.python.ops.math_ops import unsorted_segment_mean # line: 4526
from tensorflow.python.ops.math_ops import unsorted_segment_sqrt_n # line: 4581
from tensorflow.python.ops.numerics import add_check_numerics_ops # line: 81
from tensorflow.python.ops.numerics import verify_tensor_all_finite # line: 28
from tensorflow.python.ops.parallel_for.control_flow_ops import vectorized_map # line: 452
from tensorflow.python.ops.parsing_config import FixedLenFeature # line: 298
from tensorflow.python.ops.parsing_config import FixedLenSequenceFeature # line: 318
from tensorflow.python.ops.parsing_config import SparseFeature # line: 223
from tensorflow.python.ops.parsing_config import VarLenFeature # line: 44
from tensorflow.python.ops.parsing_ops import decode_csv # line: 1020
from tensorflow.python.ops.parsing_ops import decode_json_example # line: 1149
from tensorflow.python.ops.parsing_ops import decode_raw_v1 as decode_raw # line: 975
from tensorflow.python.ops.parsing_ops import parse_example # line: 310
from tensorflow.python.ops.parsing_ops import parse_single_example # line: 370
from tensorflow.python.ops.parsing_ops import parse_single_sequence_example # line: 693
from tensorflow.python.ops.partitioned_variables import create_partitioned_variables # line: 275
from tensorflow.python.ops.partitioned_variables import fixed_size_partitioner # line: 220
from tensorflow.python.ops.partitioned_variables import min_max_variable_partitioner # line: 154
from tensorflow.python.ops.partitioned_variables import variable_axis_size_partitioner # line: 67
from tensorflow.python.ops.ragged.ragged_string_ops import string_split # line: 529
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensor # line: 65
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensorSpec # line: 2319
from tensorflow.python.ops.random_crop_ops import random_crop # line: 30
from tensorflow.python.ops.random_ops import multinomial # line: 362
from tensorflow.python.ops.random_ops import random_gamma # line: 451
from tensorflow.python.ops.random_ops import random_normal # line: 39
from tensorflow.python.ops.random_ops import random_poisson # line: 545
from tensorflow.python.ops.random_ops import random_shuffle # line: 326
from tensorflow.python.ops.random_ops import random_uniform # line: 211
from tensorflow.python.ops.random_ops import truncated_normal # line: 155
from tensorflow.python.ops.resource_variables_toggle import disable_resource_variables # line: 55
from tensorflow.python.ops.resource_variables_toggle import enable_resource_variables # line: 31
from tensorflow.python.ops.resource_variables_toggle import resource_variables_enabled # line: 68
from tensorflow.python.ops.script_ops import numpy_function # line: 807
from tensorflow.python.ops.script_ops import py_func # line: 798
from tensorflow.python.ops.script_ops import eager_py_func as py_function # line: 460
from tensorflow.python.ops.session_ops import delete_session_tensor # line: 220
from tensorflow.python.ops.session_ops import get_session_handle # line: 136
from tensorflow.python.ops.session_ops import get_session_tensor # line: 179
from tensorflow.python.ops.sort_ops import argsort # line: 86
from tensorflow.python.ops.sort_ops import sort # line: 29
from tensorflow.python.ops.sparse_ops import deserialize_many_sparse # line: 2356
from tensorflow.python.ops.sparse_ops import serialize_many_sparse # line: 2224
from tensorflow.python.ops.sparse_ops import serialize_sparse # line: 2176
from tensorflow.python.ops.sparse_ops import sparse_add # line: 460
from tensorflow.python.ops.sparse_ops import sparse_concat # line: 284
from tensorflow.python.ops.sparse_ops import sparse_fill_empty_rows # line: 2109
from tensorflow.python.ops.sparse_ops import sparse_maximum # line: 2734
from tensorflow.python.ops.sparse_ops import sparse_merge # line: 1802
from tensorflow.python.ops.sparse_ops import sparse_minimum # line: 2780
from tensorflow.python.ops.sparse_ops import sparse_reduce_max # line: 1341
from tensorflow.python.ops.sparse_ops import sparse_reduce_max_sparse # line: 1427
from tensorflow.python.ops.sparse_ops import sparse_reduce_sum # line: 1559
from tensorflow.python.ops.sparse_ops import sparse_reduce_sum_sparse # line: 1628
from tensorflow.python.ops.sparse_ops import sparse_reorder # line: 821
from tensorflow.python.ops.sparse_ops import sparse_reset_shape # line: 2004
from tensorflow.python.ops.sparse_ops import sparse_reshape # line: 876
from tensorflow.python.ops.sparse_ops import sparse_retain # line: 1957
from tensorflow.python.ops.sparse_ops import sparse_slice # line: 1136
from tensorflow.python.ops.sparse_ops import sparse_softmax # line: 2671
from tensorflow.python.ops.sparse_ops import sparse_split # line: 991
from tensorflow.python.ops.sparse_ops import sparse_tensor_dense_matmul # line: 2430
from tensorflow.python.ops.sparse_ops import sparse_tensor_to_dense # line: 1681
from tensorflow.python.ops.sparse_ops import sparse_to_dense # line: 1186
from tensorflow.python.ops.sparse_ops import sparse_to_indicator # line: 1737
from tensorflow.python.ops.sparse_ops import sparse_transpose # line: 2824
from tensorflow.python.ops.special_math_ops import einsum # line: 618
from tensorflow.python.ops.special_math_ops import lbeta # line: 45
from tensorflow.python.ops.state_ops import assign # line: 277
from tensorflow.python.ops.state_ops import assign_add # line: 205
from tensorflow.python.ops.state_ops import assign_sub # line: 133
from tensorflow.python.ops.state_ops import batch_scatter_update # line: 946
from tensorflow.python.ops.state_ops import count_up_to # line: 359
from tensorflow.python.ops.state_ops import scatter_add # line: 499
from tensorflow.python.ops.state_ops import scatter_div # line: 784
from tensorflow.python.ops.state_ops import scatter_max # line: 836
from tensorflow.python.ops.state_ops import scatter_min # line: 891
from tensorflow.python.ops.state_ops import scatter_mul # line: 732
from tensorflow.python.ops.state_ops import scatter_nd_add # line: 551
from tensorflow.python.ops.state_ops import scatter_nd_sub # line: 668
from tensorflow.python.ops.state_ops import scatter_nd_update # line: 437
from tensorflow.python.ops.state_ops import scatter_sub # line: 614
from tensorflow.python.ops.state_ops import scatter_update # line: 383
from tensorflow.python.ops.string_ops import reduce_join # line: 305
from tensorflow.python.ops.string_ops import regex_replace # line: 74
from tensorflow.python.ops.string_ops import string_join # line: 551
from tensorflow.python.ops.string_ops import string_to_hash_bucket_v1 as string_to_hash_bucket # line: 536
from tensorflow.python.ops.string_ops import string_to_number_v1 as string_to_number # line: 491
from tensorflow.python.ops.string_ops import substr_deprecated as substr # line: 422
from tensorflow.python.ops.template import make_template # line: 33
from tensorflow.python.ops.tensor_array_ops import TensorArray # line: 971
from tensorflow.python.ops.tensor_array_ops import TensorArraySpec # line: 1363
from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients # line: 22
from tensorflow.python.ops.variable_scope import AUTO_REUSE # line: 194
from tensorflow.python.ops.variable_scope import VariableScope # line: 1058
from tensorflow.python.ops.variable_scope import get_local_variable # line: 1725
from tensorflow.python.ops.variable_scope import get_variable # line: 1549
from tensorflow.python.ops.variable_scope import get_variable_scope # line: 1415
from tensorflow.python.ops.variable_scope import no_regularizer # line: 1051
from tensorflow.python.ops.variable_scope import variable_creator_scope_v1 as variable_creator_scope # line: 2643
from tensorflow.python.ops.variable_scope import variable_op_scope # line: 2531
from tensorflow.python.ops.variable_scope import variable_scope # line: 2091
from tensorflow.python.ops.variable_v1 import VariableV1 as Variable # line: 51
from tensorflow.python.ops.variable_v1 import is_variable_initialized # line: 24
from tensorflow.python.ops.variables import VariableAggregation # line: 142
from tensorflow.python.ops.variables import VariableSynchronization # line: 64
from tensorflow.python.ops.variables import all_variables # line: 1805
from tensorflow.python.ops.variables import assert_variables_initialized # line: 2020
from tensorflow.python.ops.variables import global_variables # line: 1770
from tensorflow.python.ops.variables import global_variables_initializer # line: 1966
from tensorflow.python.ops.variables import initialize_all_variables # line: 1985
from tensorflow.python.ops.variables import initialize_local_variables # line: 2012
from tensorflow.python.ops.variables import initialize_variables # line: 1958
from tensorflow.python.ops.variables import local_variables # line: 1830
from tensorflow.python.ops.variables import local_variables_initializer # line: 1993
from tensorflow.python.ops.variables import model_variables # line: 1858
from tensorflow.python.ops.variables import moving_average_variables # line: 1905
from tensorflow.python.ops.variables import report_uninitialized_variables # line: 2063
from tensorflow.python.ops.variables import trainable_variables # line: 1875
from tensorflow.python.ops.variables import variables_initializer # line: 1927
from tensorflow.python.ops.while_loop import while_loop # line: 255
from tensorflow.python.platform.tf_logging import get_logger # line: 93
from tensorflow.python.proto_exports import AttrValue # line: 26
from tensorflow.python.proto_exports import ConfigProto # line: 27
from tensorflow.python.proto_exports import Event # line: 28
from tensorflow.python.proto_exports import GPUOptions # line: 29
from tensorflow.python.proto_exports import GraphOptions # line: 30
from tensorflow.python.proto_exports import HistogramProto # line: 31
from tensorflow.python.proto_exports import LogMessage # line: 34
from tensorflow.python.proto_exports import MetaGraphDef # line: 35
from tensorflow.python.proto_exports import NameAttrList # line: 38
from tensorflow.python.proto_exports import NodeDef # line: 41
from tensorflow.python.proto_exports import OptimizerOptions # line: 42
from tensorflow.python.proto_exports import RunMetadata # line: 45
from tensorflow.python.proto_exports import RunOptions # line: 46
from tensorflow.python.proto_exports import SessionLog # line: 47
from tensorflow.python.proto_exports import Summary # line: 50
from tensorflow.python.proto_exports import SummaryMetadata # line: 56
from tensorflow.python.proto_exports import TensorInfo # line: 62
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "", public_apis=None, deprecation=False,
has_lite=False)
# Hook external TensorFlow modules.
_current_module = _sys.modules[__name__]
# Lazy load Keras v1
_tf_uses_legacy_keras = (
_os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v1.keras")
else:
_module_dir = _module_util.get_parent_dir_for_name("keras.api._v1.keras")
_current_module.__path__ = [_module_dir] + _current_module.__path__
from tensorflow.python.platform import flags # pylint: disable=g-import-not-at-top
_current_module.app.flags = flags # pylint: disable=undefined-variable
setattr(_current_module, "flags", flags)
# Add module aliases from Keras to TF.
# Some tf endpoints actually lives under Keras.
_current_module.layers = _KerasLazyLoader(
globals(),
submodule="__internal__.legacy.layers",
name="layers",
mode="v1")
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name(
"tf_keras.api._v1.keras.__internal__.legacy.layers")
else:
_module_dir = _module_util.get_parent_dir_for_name(
"keras.api._v1.keras.__internal__.legacy.layers")
_current_module.__path__ = [_module_dir] + _current_module.__path__
_current_module.nn.rnn_cell = _KerasLazyLoader(
globals(),
submodule="__internal__.legacy.rnn_cell",
name="rnn_cell",
mode="v1")
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name(
"tf_keras.api._v1.keras.__internal__.legacy.rnn_cell")
else:
_module_dir = _module_util.get_parent_dir_for_name(
"keras.api._v1.keras.__internal__.legacy.rnn_cell")
_current_module.nn.__path__ = [_module_dir] + _current_module.nn.__path__
@@ -0,0 +1,29 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.compat namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.compat import v1
from tensorflow._api.v2.compat.v1.compat import v2
from tensorflow.python.compat.compat import forward_compatibility_horizon # line: 125
from tensorflow.python.compat.compat import forward_compatible # line: 65
from tensorflow.python.framework.tensor_shape import dimension_at_index # line: 139
from tensorflow.python.framework.tensor_shape import dimension_value # line: 103
from tensorflow.python.util.compat import as_bytes # line: 130
from tensorflow.python.util.compat import as_str # line: 131
from tensorflow.python.util.compat import as_str_any # line: 134
from tensorflow.python.util.compat import as_text # line: 129
from tensorflow.python.util.compat import bytes_or_text_types # line: 225
from tensorflow.python.util.compat import complex_types # line: 221
from tensorflow.python.util.compat import integral_types # line: 217
from tensorflow.python.util.compat import path_to_str # line: 154
from tensorflow.python.util.compat import real_types # line: 219
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "compat", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,371 @@
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Bring in all of the public TensorFlow interface into this module."""
# pylint: disable=g-bad-import-order,g-import-not-at-top,protected-access
import os as _os
import sys as _sys
from tensorflow.python.tools import module_util as _module_util
from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
from tensorflow._api.v2.compat.v2 import __internal__
from tensorflow._api.v2.compat.v2 import __operators__
from tensorflow._api.v2.compat.v2 import audio
from tensorflow._api.v2.compat.v2 import autodiff
from tensorflow._api.v2.compat.v2 import autograph
from tensorflow._api.v2.compat.v2 import bitwise
from tensorflow._api.v2.compat.v2 import compat
from tensorflow._api.v2.compat.v2 import config
from tensorflow._api.v2.compat.v2 import data
from tensorflow._api.v2.compat.v2 import debugging
from tensorflow._api.v2.compat.v2 import distribute
from tensorflow._api.v2.compat.v2 import dtypes
from tensorflow._api.v2.compat.v2 import errors
from tensorflow._api.v2.compat.v2 import experimental
from tensorflow._api.v2.compat.v2 import feature_column
from tensorflow._api.v2.compat.v2 import graph_util
from tensorflow._api.v2.compat.v2 import image
from tensorflow._api.v2.compat.v2 import io
from tensorflow._api.v2.compat.v2 import linalg
from tensorflow._api.v2.compat.v2 import lite
from tensorflow._api.v2.compat.v2 import lookup
from tensorflow._api.v2.compat.v2 import math
from tensorflow._api.v2.compat.v2 import mlir
from tensorflow._api.v2.compat.v2 import nest
from tensorflow._api.v2.compat.v2 import nn
from tensorflow._api.v2.compat.v2 import profiler
from tensorflow._api.v2.compat.v2 import quantization
from tensorflow._api.v2.compat.v2 import queue
from tensorflow._api.v2.compat.v2 import ragged
from tensorflow._api.v2.compat.v2 import random
from tensorflow._api.v2.compat.v2 import raw_ops
from tensorflow._api.v2.compat.v2 import saved_model
from tensorflow._api.v2.compat.v2 import sets
from tensorflow._api.v2.compat.v2 import signal
from tensorflow._api.v2.compat.v2 import sparse
from tensorflow._api.v2.compat.v2 import strings
from tensorflow._api.v2.compat.v2 import summary
from tensorflow._api.v2.compat.v2 import sysconfig
from tensorflow._api.v2.compat.v2 import test
from tensorflow._api.v2.compat.v2 import tpu
from tensorflow._api.v2.compat.v2 import train
from tensorflow._api.v2.compat.v2 import types
from tensorflow._api.v2.compat.v2 import version
from tensorflow._api.v2.compat.v2 import xla
from tensorflow.python.ops.gen_array_ops import bitcast # line: 558
from tensorflow.python.ops.gen_array_ops import broadcast_to # line: 829
from tensorflow.python.ops.gen_array_ops import extract_volume_patches # line: 2569
from tensorflow.python.ops.gen_array_ops import identity_n # line: 4268
from tensorflow.python.ops.gen_array_ops import reverse_v2 as reverse # line: 9182
from tensorflow.python.ops.gen_array_ops import scatter_nd # line: 9318
from tensorflow.python.ops.gen_array_ops import space_to_batch_nd # line: 10152
from tensorflow.python.ops.gen_array_ops import tensor_scatter_add as tensor_scatter_nd_add # line: 11302
from tensorflow.python.ops.gen_array_ops import tensor_scatter_max as tensor_scatter_nd_max # line: 11480
from tensorflow.python.ops.gen_array_ops import tensor_scatter_min as tensor_scatter_nd_min # line: 11601
from tensorflow.python.ops.gen_array_ops import tensor_scatter_sub as tensor_scatter_nd_sub # line: 11711
from tensorflow.python.ops.gen_array_ops import tile # line: 12133
from tensorflow.python.ops.gen_array_ops import unravel_index # line: 12894
from tensorflow.python.ops.gen_control_flow_ops import no_op # line: 475
from tensorflow.python.ops.gen_data_flow_ops import dynamic_partition # line: 594
from tensorflow.python.ops.gen_data_flow_ops import dynamic_stitch # line: 736
from tensorflow.python.ops.gen_experimental_dataset_ops import check_pinned # line: 701
from tensorflow.python.ops.gen_linalg_ops import matrix_square_root # line: 1913
from tensorflow.python.ops.gen_logging_ops import timestamp # line: 886
from tensorflow.python.ops.gen_math_ops import acosh # line: 231
from tensorflow.python.ops.gen_math_ops import asin # line: 991
from tensorflow.python.ops.gen_math_ops import asinh # line: 1091
from tensorflow.python.ops.gen_math_ops import atan # line: 1184
from tensorflow.python.ops.gen_math_ops import atan2 # line: 1284
from tensorflow.python.ops.gen_math_ops import atanh # line: 1383
from tensorflow.python.ops.gen_math_ops import cos # line: 2521
from tensorflow.python.ops.gen_math_ops import cosh # line: 2615
from tensorflow.python.ops.gen_math_ops import greater # line: 4243
from tensorflow.python.ops.gen_math_ops import greater_equal # line: 4344
from tensorflow.python.ops.gen_math_ops import less # line: 5280
from tensorflow.python.ops.gen_math_ops import less_equal # line: 5381
from tensorflow.python.ops.gen_math_ops import logical_and # line: 5836
from tensorflow.python.ops.gen_math_ops import logical_not # line: 5975
from tensorflow.python.ops.gen_math_ops import logical_or # line: 6062
from tensorflow.python.ops.gen_math_ops import maximum # line: 6383
from tensorflow.python.ops.gen_math_ops import minimum # line: 6639
from tensorflow.python.ops.gen_math_ops import neg as negative # line: 6986
from tensorflow.python.ops.gen_math_ops import real_div as realdiv # line: 8141
from tensorflow.python.ops.gen_math_ops import sin # line: 10372
from tensorflow.python.ops.gen_math_ops import sinh # line: 10465
from tensorflow.python.ops.gen_math_ops import square # line: 12035
from tensorflow.python.ops.gen_math_ops import tan # line: 12425
from tensorflow.python.ops.gen_math_ops import tanh # line: 12519
from tensorflow.python.ops.gen_math_ops import truncate_div as truncatediv # line: 12674
from tensorflow.python.ops.gen_math_ops import truncate_mod as truncatemod # line: 12768
from tensorflow.python.ops.gen_nn_ops import approx_top_k # line: 33
from tensorflow.python.ops.gen_nn_ops import conv # line: 1061
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_filter_v2 # line: 1609
from tensorflow.python.ops.gen_nn_ops import conv2d_backprop_input_v2 # line: 1977
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows # line: 196
from tensorflow.python.ops.gen_ragged_array_ops import ragged_fill_empty_rows_grad # line: 305
from tensorflow.python.ops.gen_random_index_shuffle_ops import random_index_shuffle # line: 30
from tensorflow.python.ops.gen_spectral_ops import fftnd # line: 620
from tensorflow.python.ops.gen_spectral_ops import ifftnd # line: 991
from tensorflow.python.ops.gen_spectral_ops import irfftnd # line: 1347
from tensorflow.python.ops.gen_spectral_ops import rfftnd # line: 1707
from tensorflow.python.ops.gen_string_ops import as_string # line: 29
from tensorflow.python.data.ops.optional_ops import OptionalSpec # line: 205
from tensorflow.python.eager.backprop import GradientTape # line: 704
from tensorflow.python.eager.context import executing_eagerly # line: 2575
from tensorflow.python.eager.polymorphic_function.polymorphic_function import function # line: 1305
from tensorflow.python.framework.constant_op import constant # line: 177
from tensorflow.python.framework.device_spec import DeviceSpecV2 as DeviceSpec # line: 46
from tensorflow.python.framework.dtypes import DType # line: 51
from tensorflow.python.framework.dtypes import as_dtype # line: 863
from tensorflow.python.framework.dtypes import bfloat16 # line: 420
from tensorflow.python.framework.dtypes import bool # line: 394
from tensorflow.python.framework.dtypes import complex128 # line: 382
from tensorflow.python.framework.dtypes import complex64 # line: 376
from tensorflow.python.framework.dtypes import double # line: 372
from tensorflow.python.framework.dtypes import float16 # line: 357
from tensorflow.python.framework.dtypes import float32 # line: 364
from tensorflow.python.framework.dtypes import float64 # line: 370
from tensorflow.python.framework.dtypes import half # line: 358
from tensorflow.python.framework.dtypes import int16 # line: 342
from tensorflow.python.framework.dtypes import int32 # line: 346
from tensorflow.python.framework.dtypes import int64 # line: 350
from tensorflow.python.framework.dtypes import int8 # line: 338
from tensorflow.python.framework.dtypes import qint16 # line: 402
from tensorflow.python.framework.dtypes import qint32 # line: 406
from tensorflow.python.framework.dtypes import qint8 # line: 398
from tensorflow.python.framework.dtypes import quint16 # line: 414
from tensorflow.python.framework.dtypes import quint8 # line: 410
from tensorflow.python.framework.dtypes import resource # line: 312
from tensorflow.python.framework.dtypes import string # line: 390
from tensorflow.python.framework.dtypes import uint16 # line: 326
from tensorflow.python.framework.dtypes import uint32 # line: 330
from tensorflow.python.framework.dtypes import uint64 # line: 334
from tensorflow.python.framework.dtypes import uint8 # line: 322
from tensorflow.python.framework.dtypes import variant # line: 318
from tensorflow.python.framework.importer import import_graph_def # line: 358
from tensorflow.python.framework.indexed_slices import IndexedSlices # line: 54
from tensorflow.python.framework.indexed_slices import IndexedSlicesSpec # line: 203
from tensorflow.python.framework.load_library import load_library # line: 120
from tensorflow.python.framework.load_library import load_op_library # line: 31
from tensorflow.python.framework.ops import Graph # line: 1973
from tensorflow.python.framework.ops import Operation # line: 1093
from tensorflow.python.framework.ops import RegisterGradient # line: 1699
from tensorflow.python.framework.ops import control_dependencies # line: 4554
from tensorflow.python.framework.ops import device_v2 as device # line: 4445
from tensorflow.python.framework.ops import get_current_name_scope # line: 5710
from tensorflow.python.framework.ops import init_scope # line: 4758
from tensorflow.python.framework.ops import inside_function # line: 4896
from tensorflow.python.framework.ops import is_symbolic_tensor # line: 6222
from tensorflow.python.framework.ops import name_scope_v2 as name_scope # line: 5745
from tensorflow.python.framework.ops import no_gradient # line: 1748
from tensorflow.python.framework.sparse_tensor import SparseTensor # line: 48
from tensorflow.python.framework.sparse_tensor import SparseTensorSpec # line: 377
from tensorflow.python.framework.tensor import Tensor # line: 138
from tensorflow.python.framework.tensor import TensorSpec # line: 916
from tensorflow.python.framework.tensor_conversion import convert_to_tensor_v2_with_dispatch as convert_to_tensor # line: 96
from tensorflow.python.framework.tensor_conversion_registry import register_tensor_conversion_function # line: 80
from tensorflow.python.framework.tensor_shape import TensorShape # line: 747
from tensorflow.python.framework.tensor_util import constant_value as get_static_value # line: 994
from tensorflow.python.framework.tensor_util import is_tf_type as is_tensor # line: 1226
from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray # line: 729
from tensorflow.python.framework.tensor_util import make_tensor_proto # line: 521
from tensorflow.python.framework.type_spec import TypeSpec # line: 49
from tensorflow.python.framework.type_spec import type_spec_from_value # line: 960
from tensorflow.python.framework.versions import COMPILER_VERSION as __compiler_version__ # line: 41
from tensorflow.python.framework.versions import CXX11_ABI_FLAG as __cxx11_abi_flag__ # line: 48
from tensorflow.python.framework.versions import CXX_VERSION as __cxx_version__ # line: 54
from tensorflow.python.framework.versions import GIT_VERSION as __git_version__ # line: 35
from tensorflow.python.framework.versions import MONOLITHIC_BUILD as __monolithic_build__ # line: 60
from tensorflow.python.framework.versions import VERSION as __version__ # line: 29
from tensorflow.python.module.module import Module # line: 29
from tensorflow.python.ops.array_ops import batch_to_space_v2 as batch_to_space # line: 3849
from tensorflow.python.ops.array_ops import boolean_mask_v2 as boolean_mask # line: 1538
from tensorflow.python.ops.array_ops import broadcast_dynamic_shape # line: 527
from tensorflow.python.ops.array_ops import broadcast_static_shape # line: 561
from tensorflow.python.ops.array_ops import concat # line: 1349
from tensorflow.python.ops.array_ops import edit_distance # line: 3523
from tensorflow.python.ops.array_ops import expand_dims_v2 as expand_dims # line: 392
from tensorflow.python.ops.array_ops import fill # line: 204
from tensorflow.python.ops.array_ops import fingerprint # line: 6366
from tensorflow.python.ops.array_ops import gather_v2 as gather # line: 4996
from tensorflow.python.ops.array_ops import gather_nd_v2 as gather_nd # line: 5428
from tensorflow.python.ops.array_ops import guarantee_const # line: 6705
from tensorflow.python.ops.array_ops import identity # line: 253
from tensorflow.python.ops.array_ops import meshgrid # line: 3377
from tensorflow.python.ops.array_ops import newaxis # line: 60
from tensorflow.python.ops.array_ops import one_hot # line: 3987
from tensorflow.python.ops.array_ops import ones # line: 2916
from tensorflow.python.ops.array_ops import ones_like_v2 as ones_like # line: 2848
from tensorflow.python.ops.array_ops import pad_v2 as pad # line: 3196
from tensorflow.python.ops.array_ops import parallel_stack # line: 1135
from tensorflow.python.ops.array_ops import rank # line: 878
from tensorflow.python.ops.array_ops import repeat # line: 6651
from tensorflow.python.ops.array_ops import required_space_to_batch_paddings # line: 3681
from tensorflow.python.ops.array_ops import reshape # line: 63
from tensorflow.python.ops.array_ops import reverse_sequence_v2 as reverse_sequence # line: 4723
from tensorflow.python.ops.array_ops import searchsorted # line: 6109
from tensorflow.python.ops.array_ops import sequence_mask # line: 4165
from tensorflow.python.ops.array_ops import shape_v2 as shape # line: 597
from tensorflow.python.ops.array_ops import shape_n # line: 731
from tensorflow.python.ops.array_ops import size_v2 as size # line: 761
from tensorflow.python.ops.array_ops import slice # line: 939
from tensorflow.python.ops.array_ops import space_to_batch_v2 as space_to_batch # line: 3784
from tensorflow.python.ops.array_ops import split # line: 1743
from tensorflow.python.ops.array_ops import squeeze_v2 as squeeze # line: 4287
from tensorflow.python.ops.array_ops import stop_gradient # line: 6724
from tensorflow.python.ops.array_ops import strided_slice # line: 995
from tensorflow.python.ops.array_ops import tensor_scatter_nd_update # line: 5536
from tensorflow.python.ops.array_ops import transpose_v2 as transpose # line: 1825
from tensorflow.python.ops.array_ops import unique # line: 1642
from tensorflow.python.ops.array_ops import unique_with_counts # line: 1690
from tensorflow.python.ops.array_ops import where_v2 as where # line: 4444
from tensorflow.python.ops.array_ops import zeros # line: 2598
from tensorflow.python.ops.array_ops import zeros_like_v2 as zeros_like # line: 2700
from tensorflow.python.ops.array_ops_stack import stack # line: 24
from tensorflow.python.ops.array_ops_stack import unstack # line: 88
from tensorflow.python.ops.batch_ops import batch_function as nondifferentiable_batch_function # line: 28
from tensorflow.python.ops.check_ops import assert_equal_v2 as assert_equal # line: 762
from tensorflow.python.ops.check_ops import assert_greater_v2 as assert_greater # line: 978
from tensorflow.python.ops.check_ops import assert_less_v2 as assert_less # line: 942
from tensorflow.python.ops.check_ops import assert_rank_v2 as assert_rank # line: 1064
from tensorflow.python.ops.check_ops import ensure_shape # line: 2226
from tensorflow.python.ops.clip_ops import clip_by_global_norm # line: 298
from tensorflow.python.ops.clip_ops import clip_by_norm # line: 152
from tensorflow.python.ops.clip_ops import clip_by_value # line: 34
from tensorflow.python.ops.cond import cond_for_tf_v2 as cond # line: 243
from tensorflow.python.ops.control_flow_assert import Assert # line: 62
from tensorflow.python.ops.control_flow_case import case_v2 as case # line: 33
from tensorflow.python.ops.control_flow_ops import group # line: 1958
from tensorflow.python.ops.control_flow_ops import tuple_v2 as tuple # line: 2037
from tensorflow.python.ops.control_flow_switch_case import switch_case # line: 181
from tensorflow.python.ops.critical_section_ops import CriticalSection # line: 121
from tensorflow.python.ops.custom_gradient import custom_gradient # line: 45
from tensorflow.python.ops.custom_gradient import grad_pass_through # line: 773
from tensorflow.python.ops.custom_gradient import recompute_grad # line: 600
from tensorflow.python.ops.functional_ops import foldl_v2 as foldl # line: 161
from tensorflow.python.ops.functional_ops import foldr_v2 as foldr # line: 358
from tensorflow.python.ops.functional_ops import scan_v2 as scan # line: 691
from tensorflow.python.ops.gradients_impl import gradients_v2 as gradients # line: 188
from tensorflow.python.ops.gradients_impl import HessiansV2 as hessians # line: 455
from tensorflow.python.ops.gradients_util import AggregationMethod # line: 952
from tensorflow.python.ops.histogram_ops import histogram_fixed_width # line: 103
from tensorflow.python.ops.histogram_ops import histogram_fixed_width_bins # line: 31
from tensorflow.python.ops.init_ops_v2 import Constant as constant_initializer # line: 204
from tensorflow.python.ops.init_ops_v2 import Ones as ones_initializer # line: 157
from tensorflow.python.ops.init_ops_v2 import RandomNormal as random_normal_initializer # line: 371
from tensorflow.python.ops.init_ops_v2 import RandomUniform as random_uniform_initializer # line: 302
from tensorflow.python.ops.init_ops_v2 import Zeros as zeros_initializer # line: 110
from tensorflow.python.ops.linalg_ops import eig # line: 382
from tensorflow.python.ops.linalg_ops import eigvals # line: 414
from tensorflow.python.ops.linalg_ops import eye # line: 196
from tensorflow.python.ops.linalg_ops import norm_v2 as norm # line: 561
from tensorflow.python.ops.logging_ops import print_v2 as print # line: 147
from tensorflow.python.ops.manip_ops import roll # line: 27
from tensorflow.python.ops.map_fn import map_fn_v2 as map_fn # line: 613
from tensorflow.python.ops.math_ops import abs # line: 361
from tensorflow.python.ops.math_ops import acos # line: 5842
from tensorflow.python.ops.math_ops import add # line: 3884
from tensorflow.python.ops.math_ops import add_n # line: 3965
from tensorflow.python.ops.math_ops import argmax_v2 as argmax # line: 264
from tensorflow.python.ops.math_ops import argmin_v2 as argmin # line: 318
from tensorflow.python.ops.math_ops import cast # line: 940
from tensorflow.python.ops.math_ops import complex # line: 695
from tensorflow.python.ops.math_ops import cumsum # line: 4216
from tensorflow.python.ops.math_ops import divide # line: 442
from tensorflow.python.ops.math_ops import equal # line: 1828
from tensorflow.python.ops.math_ops import exp # line: 5739
from tensorflow.python.ops.math_ops import floor # line: 5873
from tensorflow.python.ops.math_ops import linspace_nd as linspace # line: 113
from tensorflow.python.ops.math_ops import matmul # line: 3443
from tensorflow.python.ops.math_ops import multiply # line: 477
from tensorflow.python.ops.math_ops import not_equal # line: 1865
from tensorflow.python.ops.math_ops import pow # line: 665
from tensorflow.python.ops.math_ops import range # line: 1984
from tensorflow.python.ops.math_ops import reduce_all # line: 3132
from tensorflow.python.ops.math_ops import reduce_any # line: 3238
from tensorflow.python.ops.math_ops import reduce_logsumexp # line: 3343
from tensorflow.python.ops.math_ops import reduce_max # line: 3013
from tensorflow.python.ops.math_ops import reduce_mean # line: 2539
from tensorflow.python.ops.math_ops import reduce_min # line: 2885
from tensorflow.python.ops.math_ops import reduce_prod # line: 2713
from tensorflow.python.ops.math_ops import reduce_sum # line: 2195
from tensorflow.python.ops.math_ops import round # line: 910
from tensorflow.python.ops.math_ops import saturate_cast # line: 1025
from tensorflow.python.ops.math_ops import scalar_mul_v2 as scalar_mul # line: 656
from tensorflow.python.ops.math_ops import sigmoid # line: 4118
from tensorflow.python.ops.math_ops import sign # line: 743
from tensorflow.python.ops.math_ops import sqrt # line: 5700
from tensorflow.python.ops.math_ops import subtract # line: 541
from tensorflow.python.ops.math_ops import tensordot # line: 5215
from tensorflow.python.ops.math_ops import truediv # line: 1477
from tensorflow.python.ops.parallel_for.control_flow_ops import vectorized_map # line: 452
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensor # line: 65
from tensorflow.python.ops.ragged.ragged_tensor import RaggedTensorSpec # line: 2319
from tensorflow.python.ops.script_ops import numpy_function # line: 807
from tensorflow.python.ops.script_ops import eager_py_func as py_function # line: 460
from tensorflow.python.ops.sort_ops import argsort # line: 86
from tensorflow.python.ops.sort_ops import sort # line: 29
from tensorflow.python.ops.special_math_ops import einsum # line: 618
from tensorflow.python.ops.tensor_array_ops import TensorArray # line: 971
from tensorflow.python.ops.tensor_array_ops import TensorArraySpec # line: 1363
from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients # line: 22
from tensorflow.python.ops.variable_scope import variable_creator_scope # line: 2719
from tensorflow.python.ops.variables import Variable # line: 204
from tensorflow.python.ops.variables import VariableAggregationV2 as VariableAggregation # line: 92
from tensorflow.python.ops.variables import VariableSynchronization # line: 64
from tensorflow.python.ops.while_loop import while_loop_v2 as while_loop # line: 35
from tensorflow.python.platform.tf_logging import get_logger # line: 93
# Hook external TensorFlow modules.
_current_module = _sys.modules[__name__]
# Lazy load Keras v2
_tf_uses_legacy_keras = (
_os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v2"))
if _tf_uses_legacy_keras:
_module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v2.keras")
else:
_module_dir = _module_util.get_parent_dir_for_name("keras.api._v2.keras")
_current_module.__path__ = [_module_dir] + _current_module.__path__
# We would like the following to work for fully enabling 2.0 in a 1.0 install:
#
# import tensorflow.compat.v2 as tf
# tf.enable_v2_behavior()
#
# This make this one symbol available directly.
from tensorflow.python.compat.v2_compat import enable_v2_behavior # pylint: disable=g-import-not-at-top
setattr(_current_module, "enable_v2_behavior", enable_v2_behavior)
# Add module aliases
_losses = _KerasLazyLoader(
globals(), submodule="losses", name="losses", mode="v2")
_metrics = _KerasLazyLoader(
globals(), submodule="metrics", name="metrics", mode="v2")
_optimizers = _KerasLazyLoader(
globals(), submodule="optimizers", name="optimizers", mode="v2")
_initializers = _KerasLazyLoader(
globals(), submodule="initializers", name="initializers", mode="v2")
setattr(_current_module, "losses", _losses)
setattr(_current_module, "metrics", _metrics)
setattr(_current_module, "optimizers", _optimizers)
setattr(_current_module, "initializers", _initializers)
@@ -0,0 +1,22 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.compat namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v2.compat import v1
from tensorflow._api.v2.compat.v2.compat import v2
from tensorflow.python.compat.compat import forward_compatibility_horizon # line: 125
from tensorflow.python.compat.compat import forward_compatible # line: 65
from tensorflow.python.framework.tensor_shape import dimension_at_index # line: 139
from tensorflow.python.framework.tensor_shape import dimension_value # line: 103
from tensorflow.python.util.compat import as_bytes # line: 130
from tensorflow.python.util.compat import as_str # line: 131
from tensorflow.python.util.compat import as_str_any # line: 134
from tensorflow.python.util.compat import as_text # line: 129
from tensorflow.python.util.compat import bytes_or_text_types # line: 225
from tensorflow.python.util.compat import complex_types # line: 221
from tensorflow.python.util.compat import integral_types # line: 217
from tensorflow.python.util.compat import path_to_str # line: 154
from tensorflow.python.util.compat import real_types # line: 219
@@ -0,0 +1,34 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.config namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.config import experimental
from tensorflow._api.v2.compat.v1.config import optimizer
from tensorflow._api.v2.compat.v1.config import threading
from tensorflow.python.eager.context import LogicalDevice # line: 391
from tensorflow.python.eager.context import LogicalDeviceConfiguration # line: 409
from tensorflow.python.eager.context import PhysicalDevice # line: 457
from tensorflow.python.eager.polymorphic_function.eager_function_run import experimental_functions_run_eagerly # line: 108
from tensorflow.python.eager.polymorphic_function.eager_function_run import experimental_run_functions_eagerly # line: 82
from tensorflow.python.eager.polymorphic_function.eager_function_run import functions_run_eagerly # line: 25
from tensorflow.python.eager.polymorphic_function.eager_function_run import run_functions_eagerly # line: 31
from tensorflow.python.eager.remote import connect_to_cluster as experimental_connect_to_cluster # line: 76
from tensorflow.python.eager.remote import connect_to_remote_host as experimental_connect_to_host # line: 37
from tensorflow.python.framework.config import get_logical_device_configuration # line: 802
from tensorflow.python.framework.config import get_soft_device_placement # line: 257
from tensorflow.python.framework.config import get_visible_devices # line: 500
from tensorflow.python.framework.config import list_logical_devices # line: 461
from tensorflow.python.framework.config import list_physical_devices # line: 424
from tensorflow.python.framework.config import set_logical_device_configuration # line: 843
from tensorflow.python.framework.config import set_soft_device_placement # line: 283
from tensorflow.python.framework.config import set_visible_devices # line: 533
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "config", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,36 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.config.experimental namespace
"""
import sys as _sys
from tensorflow.python.eager.context import LogicalDeviceConfiguration as VirtualDeviceConfiguration # line: 409
from tensorflow.python.framework.config import disable_mlir_bridge # line: 926
from tensorflow.python.framework.config import enable_mlir_bridge # line: 915
from tensorflow.python.framework.config import enable_tensor_float_32_execution # line: 46
from tensorflow.python.framework.config import get_device_details # line: 757
from tensorflow.python.framework.config import get_device_policy # line: 312
from tensorflow.python.framework.config import get_memory_growth # line: 700
from tensorflow.python.framework.config import get_memory_info # line: 571
from tensorflow.python.framework.config import get_memory_usage # line: 664
from tensorflow.python.framework.config import get_synchronous_execution # line: 386
from tensorflow.python.framework.config import get_logical_device_configuration as get_virtual_device_configuration # line: 802
from tensorflow.python.framework.config import get_visible_devices # line: 500
from tensorflow.python.framework.config import list_logical_devices # line: 461
from tensorflow.python.framework.config import list_physical_devices # line: 424
from tensorflow.python.framework.config import reset_memory_stats # line: 620
from tensorflow.python.framework.config import set_device_policy # line: 340
from tensorflow.python.framework.config import set_memory_growth # line: 729
from tensorflow.python.framework.config import set_synchronous_execution # line: 399
from tensorflow.python.framework.config import set_logical_device_configuration as set_virtual_device_configuration # line: 843
from tensorflow.python.framework.config import set_visible_devices # line: 533
from tensorflow.python.framework.config import tensor_float_32_execution_enabled # line: 27
from tensorflow.python.training.server_lib import ClusterDeviceFilters # line: 495
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "config.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,18 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.config.optimizer namespace
"""
import sys as _sys
from tensorflow.python.framework.config import get_optimizer_experimental_options as get_experimental_options # line: 198
from tensorflow.python.framework.config import get_optimizer_jit as get_jit # line: 158
from tensorflow.python.framework.config import set_optimizer_experimental_options as set_experimental_options # line: 214
from tensorflow.python.framework.config import set_optimizer_jit as set_jit # line: 172
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "config.optimizer", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,18 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.config.threading namespace
"""
import sys as _sys
from tensorflow.python.framework.config import get_inter_op_parallelism_threads # line: 132
from tensorflow.python.framework.config import get_intra_op_parallelism_threads # line: 104
from tensorflow.python.framework.config import set_inter_op_parallelism_threads # line: 145
from tensorflow.python.framework.config import set_intra_op_parallelism_threads # line: 118
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "config.threading", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,32 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.data namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.data import experimental
from tensorflow.python.data.ops.dataset_ops import AUTOTUNE # line: 103
from tensorflow.python.data.ops.dataset_ops import DatasetV1 as Dataset # line: 3710
from tensorflow.python.data.ops.dataset_ops import DatasetSpec # line: 4594
from tensorflow.python.data.ops.dataset_ops import INFINITE as INFINITE_CARDINALITY # line: 113
from tensorflow.python.data.ops.dataset_ops import NumpyIterator # line: 4759
from tensorflow.python.data.ops.dataset_ops import UNKNOWN as UNKNOWN_CARDINALITY # line: 114
from tensorflow.python.data.ops.dataset_ops import get_legacy_output_classes as get_output_classes # line: 4442
from tensorflow.python.data.ops.dataset_ops import get_legacy_output_shapes as get_output_shapes # line: 4464
from tensorflow.python.data.ops.dataset_ops import get_legacy_output_types as get_output_types # line: 4486
from tensorflow.python.data.ops.dataset_ops import make_initializable_iterator # line: 4353
from tensorflow.python.data.ops.dataset_ops import make_one_shot_iterator # line: 4318
from tensorflow.python.data.ops.iterator_ops import Iterator # line: 95
from tensorflow.python.data.ops.options import Options # line: 579
from tensorflow.python.data.ops.options import ThreadingOptions # line: 535
from tensorflow.python.data.ops.readers import FixedLengthRecordDatasetV1 as FixedLengthRecordDataset # line: 669
from tensorflow.python.data.ops.readers import TFRecordDatasetV1 as TFRecordDataset # line: 490
from tensorflow.python.data.ops.readers import TextLineDatasetV1 as TextLineDataset # line: 260
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "data", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,81 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.data.experimental namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.data.experimental import service
from tensorflow.python.data.experimental.ops.batching import dense_to_ragged_batch # line: 30
from tensorflow.python.data.experimental.ops.batching import dense_to_sparse_batch # line: 94
from tensorflow.python.data.experimental.ops.batching import map_and_batch # line: 210
from tensorflow.python.data.experimental.ops.batching import map_and_batch_with_legacy_function # line: 146
from tensorflow.python.data.experimental.ops.batching import unbatch # line: 269
from tensorflow.python.data.experimental.ops.cardinality import INFINITE as INFINITE_CARDINALITY # line: 26
from tensorflow.python.data.experimental.ops.cardinality import UNKNOWN as UNKNOWN_CARDINALITY # line: 28
from tensorflow.python.data.experimental.ops.cardinality import assert_cardinality # line: 67
from tensorflow.python.data.experimental.ops.cardinality import cardinality # line: 33
from tensorflow.python.data.experimental.ops.counter import CounterV1 as Counter # line: 62
from tensorflow.python.data.experimental.ops.distribute import SHARD_HINT # line: 31
from tensorflow.python.data.experimental.ops.distributed_save_op import distributed_save # line: 28
from tensorflow.python.data.experimental.ops.enumerate_ops import enumerate_dataset # line: 21
from tensorflow.python.data.experimental.ops.error_ops import ignore_errors # line: 20
from tensorflow.python.data.experimental.ops.from_list import from_list # line: 78
from tensorflow.python.data.experimental.ops.get_single_element import get_single_element # line: 22
from tensorflow.python.data.experimental.ops.grouping import Reducer # line: 388
from tensorflow.python.data.experimental.ops.grouping import bucket_by_sequence_length # line: 112
from tensorflow.python.data.experimental.ops.grouping import group_by_reducer # line: 28
from tensorflow.python.data.experimental.ops.grouping import group_by_window # line: 59
from tensorflow.python.data.experimental.ops.interleave_ops import choose_from_datasets_v1 as choose_from_datasets # line: 233
from tensorflow.python.data.experimental.ops.interleave_ops import parallel_interleave # line: 29
from tensorflow.python.data.experimental.ops.interleave_ops import sample_from_datasets_v1 as sample_from_datasets # line: 158
from tensorflow.python.data.experimental.ops.iterator_model_ops import get_model_proto # line: 25
from tensorflow.python.data.experimental.ops.iterator_ops import make_saveable_from_iterator # line: 38
from tensorflow.python.data.experimental.ops.lookup_ops import DatasetInitializer # line: 54
from tensorflow.python.data.experimental.ops.lookup_ops import index_table_from_dataset # line: 190
from tensorflow.python.data.experimental.ops.lookup_ops import table_from_dataset # line: 102
from tensorflow.python.data.experimental.ops.pad_to_cardinality import pad_to_cardinality # line: 26
from tensorflow.python.data.experimental.ops.parsing_ops import parse_example_dataset # line: 105
from tensorflow.python.data.experimental.ops.prefetching_ops import copy_to_device # line: 65
from tensorflow.python.data.experimental.ops.prefetching_ops import prefetch_to_device # line: 33
from tensorflow.python.data.experimental.ops.random_ops import RandomDatasetV1 as RandomDataset # line: 34
from tensorflow.python.data.experimental.ops.readers import CsvDatasetV1 as CsvDataset # line: 825
from tensorflow.python.data.experimental.ops.readers import SqlDatasetV1 as SqlDataset # line: 1203
from tensorflow.python.data.experimental.ops.readers import make_batched_features_dataset_v1 as make_batched_features_dataset # line: 1100
from tensorflow.python.data.experimental.ops.readers import make_csv_dataset_v1 as make_csv_dataset # line: 629
from tensorflow.python.data.experimental.ops.resampling import rejection_resample # line: 21
from tensorflow.python.data.experimental.ops.scan_ops import scan # line: 21
from tensorflow.python.data.experimental.ops.shuffle_ops import shuffle_and_repeat # line: 62
from tensorflow.python.data.experimental.ops.snapshot import snapshot # line: 190
from tensorflow.python.data.experimental.ops.take_while_ops import take_while # line: 21
from tensorflow.python.data.experimental.ops.unique import unique # line: 21
from tensorflow.python.data.experimental.ops.writers import TFRecordWriter # line: 27
from tensorflow.python.data.ops.dataset_ops import AUTOTUNE # line: 105
from tensorflow.python.data.ops.dataset_ops import DatasetSpec as DatasetStructure # line: 4594
from tensorflow.python.data.ops.dataset_ops import from_variant # line: 4566
from tensorflow.python.data.ops.dataset_ops import get_structure # line: 4401
from tensorflow.python.data.ops.dataset_ops import to_variant # line: 4581
from tensorflow.python.data.ops.debug_mode import enable_debug_mode # line: 24
from tensorflow.python.data.ops.iterator_ops import get_next_as_optional # line: 1015
from tensorflow.python.data.ops.optional_ops import Optional # line: 31
from tensorflow.python.data.ops.optional_ops import OptionalSpec as OptionalStructure # line: 205
from tensorflow.python.data.ops.options import AutoShardPolicy # line: 88
from tensorflow.python.data.ops.options import AutotuneAlgorithm # line: 30
from tensorflow.python.data.ops.options import AutotuneOptions # line: 193
from tensorflow.python.data.ops.options import DistributeOptions # line: 292
from tensorflow.python.data.ops.options import ExternalStatePolicy # line: 155
from tensorflow.python.data.ops.options import OptimizationOptions # line: 334
from tensorflow.python.data.ops.options import ServiceOptions # line: 496
from tensorflow.python.data.ops.options import ThreadingOptions # line: 535
from tensorflow.python.data.util.structure import _RaggedTensorStructure as RaggedTensorStructure # line: 61
from tensorflow.python.data.util.structure import _SparseTensorStructure as SparseTensorStructure # line: 48
from tensorflow.python.data.util.structure import _TensorArrayStructure as TensorArrayStructure # line: 54
from tensorflow.python.data.util.structure import _TensorStructure as TensorStructure # line: 42
from tensorflow.python.framework.type_spec import TypeSpec as Structure # line: 49
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "data.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,21 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.data.experimental.service namespace
"""
import sys as _sys
from tensorflow.python.data.experimental.ops.data_service_ops import CrossTrainerCache # line: 119
from tensorflow.python.data.experimental.ops.data_service_ops import ShardingPolicy # line: 48
from tensorflow.python.data.experimental.ops.data_service_ops import distribute # line: 543
from tensorflow.python.data.experimental.ops.data_service_ops import from_dataset_id # line: 1067
from tensorflow.python.data.experimental.ops.data_service_ops import register_dataset # line: 860
from tensorflow.python.data.experimental.service.server_lib import DispatcherConfig # line: 44
from tensorflow.python.data.experimental.service.server_lib import WorkerConfig # line: 292
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "data.experimental.service", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,51 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.debugging namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.debugging import experimental
from tensorflow.python.ops.gen_array_ops import check_numerics # line: 950
from tensorflow.python.ops.gen_math_ops import is_finite # line: 4992
from tensorflow.python.ops.gen_math_ops import is_inf # line: 5088
from tensorflow.python.ops.gen_math_ops import is_nan # line: 5184
from tensorflow.python.debug.lib.check_numerics_callback import disable_check_numerics # line: 445
from tensorflow.python.debug.lib.check_numerics_callback import enable_check_numerics # line: 336
from tensorflow.python.eager.context import get_log_device_placement # line: 2802
from tensorflow.python.eager.context import set_log_device_placement # line: 2812
from tensorflow.python.ops.check_ops import assert_equal # line: 770
from tensorflow.python.ops.check_ops import assert_greater # line: 987
from tensorflow.python.ops.check_ops import assert_greater_equal # line: 1005
from tensorflow.python.ops.check_ops import assert_integer # line: 1455
from tensorflow.python.ops.check_ops import assert_less # line: 950
from tensorflow.python.ops.check_ops import assert_less_equal # line: 968
from tensorflow.python.ops.check_ops import assert_near # line: 858
from tensorflow.python.ops.check_ops import assert_negative # line: 576
from tensorflow.python.ops.check_ops import assert_non_negative # line: 685
from tensorflow.python.ops.check_ops import assert_non_positive # line: 741
from tensorflow.python.ops.check_ops import assert_none_equal # line: 792
from tensorflow.python.ops.check_ops import assert_positive # line: 630
from tensorflow.python.ops.check_ops import assert_proper_iterable # line: 511
from tensorflow.python.ops.check_ops import assert_rank # line: 1098
from tensorflow.python.ops.check_ops import assert_rank_at_least # line: 1196
from tensorflow.python.ops.check_ops import assert_rank_in # line: 1362
from tensorflow.python.ops.check_ops import assert_same_float_dtype # line: 2126
from tensorflow.python.ops.check_ops import assert_scalar # line: 2184
from tensorflow.python.ops.check_ops import assert_shapes # line: 1685
from tensorflow.python.ops.check_ops import assert_type # line: 1529
from tensorflow.python.ops.check_ops import is_non_decreasing # line: 1996
from tensorflow.python.ops.check_ops import is_numeric_tensor # line: 1961
from tensorflow.python.ops.check_ops import is_strictly_increasing # line: 2037
from tensorflow.python.ops.control_flow_assert import Assert # line: 62
from tensorflow.python.ops.numerics import verify_tensor_all_finite as assert_all_finite # line: 28
from tensorflow.python.util.traceback_utils import disable_traceback_filtering # line: 76
from tensorflow.python.util.traceback_utils import enable_traceback_filtering # line: 51
from tensorflow.python.util.traceback_utils import is_traceback_filtering_enabled # line: 32
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "debugging", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,16 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.debugging.experimental namespace
"""
import sys as _sys
from tensorflow.python.debug.lib.dumping_callback import disable_dump_debug_info # line: 863
from tensorflow.python.debug.lib.dumping_callback import enable_dump_debug_info # line: 672
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "debugging.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,36 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.distribute namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.distribute import cluster_resolver
from tensorflow._api.v2.compat.v1.distribute import experimental
from tensorflow.python.distribute.cross_device_ops import CrossDeviceOps # line: 251
from tensorflow.python.distribute.cross_device_ops import HierarchicalCopyAllReduce # line: 996
from tensorflow.python.distribute.cross_device_ops import NcclAllReduce # line: 959
from tensorflow.python.distribute.cross_device_ops import ReductionToOneDevice # line: 581
from tensorflow.python.distribute.distribute_lib import InputContext # line: 840
from tensorflow.python.distribute.distribute_lib import InputReplicationMode # line: 823
from tensorflow.python.distribute.distribute_lib import ReplicaContextV1 as ReplicaContext # line: 3920
from tensorflow.python.distribute.distribute_lib import RunOptions # line: 979
from tensorflow.python.distribute.distribute_lib import StrategyV1 as Strategy # line: 2218
from tensorflow.python.distribute.distribute_lib import StrategyExtendedV1 as StrategyExtended # line: 3115
from tensorflow.python.distribute.distribute_lib import experimental_set_strategy # line: 583
from tensorflow.python.distribute.distribute_lib import get_replica_context # line: 453
from tensorflow.python.distribute.distribute_lib import get_strategy # line: 542
from tensorflow.python.distribute.distribute_lib import has_strategy # line: 562
from tensorflow.python.distribute.distribute_lib import in_cross_replica_context # line: 517
from tensorflow.python.distribute.distribute_utils import get_loss_reduction # line: 39
from tensorflow.python.distribute.mirrored_strategy import MirroredStrategyV1 as MirroredStrategy # line: 293
from tensorflow.python.distribute.one_device_strategy import OneDeviceStrategyV1 as OneDeviceStrategy # line: 239
from tensorflow.python.distribute.reduce_util import ReduceOp # line: 23
from tensorflow.python.training.server_lib import Server # line: 94
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "distribute", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,23 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.distribute.cluster_resolver namespace
"""
import sys as _sys
from tensorflow.python.distribute.cluster_resolver.cluster_resolver import ClusterResolver # line: 55
from tensorflow.python.distribute.cluster_resolver.cluster_resolver import SimpleClusterResolver # line: 288
from tensorflow.python.distribute.cluster_resolver.cluster_resolver import UnionClusterResolver as UnionResolver # line: 418
from tensorflow.python.distribute.cluster_resolver.gce_cluster_resolver import GCEClusterResolver # line: 30
from tensorflow.python.distribute.cluster_resolver.kubernetes_cluster_resolver import KubernetesClusterResolver # line: 41
from tensorflow.python.distribute.cluster_resolver.kubernetes_cluster_resolver import ExecutableLocation as KubernetesExecutableLocation # line: 25
from tensorflow.python.distribute.cluster_resolver.slurm_cluster_resolver import SlurmClusterResolver # line: 163
from tensorflow.python.distribute.cluster_resolver.tfconfig_cluster_resolver import TFConfigClusterResolver # line: 47
from tensorflow.python.distribute.cluster_resolver.tpu_cluster_resolver import TPUClusterResolver # line: 24
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "distribute.cluster_resolver", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,22 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.distribute.experimental namespace
"""
import sys as _sys
from tensorflow.python.distribute.central_storage_strategy import CentralStorageStrategyV1 as CentralStorageStrategy # line: 212
from tensorflow.python.distribute.collective_all_reduce_strategy import CollectiveAllReduceStrategyV1 as MultiWorkerMirroredStrategy # line: 290
from tensorflow.python.distribute.collective_util import CommunicationImplementation as CollectiveCommunication # line: 26
from tensorflow.python.distribute.collective_util import Hints as CollectiveHints # line: 168
from tensorflow.python.distribute.collective_util import CommunicationImplementation # line: 26
from tensorflow.python.distribute.collective_util import _OptionsExported as CommunicationOptions # line: 50
from tensorflow.python.distribute.parameter_server_strategy import ParameterServerStrategyV1 as ParameterServerStrategy # line: 48
from tensorflow.python.distribute.tpu_strategy import TPUStrategyV1 as TPUStrategy # line: 752
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "distribute.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,32 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.distributions namespace
"""
import sys as _sys
from tensorflow.python.ops.distributions.bernoulli import Bernoulli # line: 31
from tensorflow.python.ops.distributions.beta import Beta # line: 46
from tensorflow.python.ops.distributions.categorical import Categorical # line: 58
from tensorflow.python.ops.distributions.dirichlet import Dirichlet # line: 44
from tensorflow.python.ops.distributions.dirichlet_multinomial import DirichletMultinomial # line: 50
from tensorflow.python.ops.distributions.distribution import Distribution # line: 272
from tensorflow.python.ops.distributions.distribution import FULLY_REPARAMETERIZED # line: 260
from tensorflow.python.ops.distributions.distribution import NOT_REPARAMETERIZED # line: 268
from tensorflow.python.ops.distributions.distribution import ReparameterizationType # line: 209
from tensorflow.python.ops.distributions.exponential import Exponential # line: 36
from tensorflow.python.ops.distributions.gamma import Gamma # line: 42
from tensorflow.python.ops.distributions.kullback_leibler import RegisterKL # line: 161
from tensorflow.python.ops.distributions.kullback_leibler import kl_divergence # line: 59
from tensorflow.python.ops.distributions.laplace import Laplace # line: 42
from tensorflow.python.ops.distributions.multinomial import Multinomial # line: 51
from tensorflow.python.ops.distributions.normal import Normal # line: 41
from tensorflow.python.ops.distributions.student_t import StudentT # line: 42
from tensorflow.python.ops.distributions.uniform import Uniform # line: 32
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "distributions", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,47 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.dtypes namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.dtypes import experimental
from tensorflow.python.ops.gen_string_ops import as_string # line: 29
from tensorflow.python.framework.dtypes import DType # line: 51
from tensorflow.python.framework.dtypes import QUANTIZED_DTYPES # line: 841
from tensorflow.python.framework.dtypes import as_dtype # line: 863
from tensorflow.python.framework.dtypes import bfloat16 # line: 420
from tensorflow.python.framework.dtypes import bool # line: 394
from tensorflow.python.framework.dtypes import complex128 # line: 382
from tensorflow.python.framework.dtypes import complex64 # line: 376
from tensorflow.python.framework.dtypes import double # line: 372
from tensorflow.python.framework.dtypes import float16 # line: 357
from tensorflow.python.framework.dtypes import float32 # line: 364
from tensorflow.python.framework.dtypes import float64 # line: 370
from tensorflow.python.framework.dtypes import half # line: 358
from tensorflow.python.framework.dtypes import int16 # line: 342
from tensorflow.python.framework.dtypes import int32 # line: 346
from tensorflow.python.framework.dtypes import int64 # line: 350
from tensorflow.python.framework.dtypes import int8 # line: 338
from tensorflow.python.framework.dtypes import qint16 # line: 402
from tensorflow.python.framework.dtypes import qint32 # line: 406
from tensorflow.python.framework.dtypes import qint8 # line: 398
from tensorflow.python.framework.dtypes import quint16 # line: 414
from tensorflow.python.framework.dtypes import quint8 # line: 410
from tensorflow.python.framework.dtypes import resource # line: 312
from tensorflow.python.framework.dtypes import string # line: 390
from tensorflow.python.framework.dtypes import uint16 # line: 326
from tensorflow.python.framework.dtypes import uint32 # line: 330
from tensorflow.python.framework.dtypes import uint64 # line: 334
from tensorflow.python.framework.dtypes import uint8 # line: 322
from tensorflow.python.framework.dtypes import variant # line: 318
from tensorflow.python.ops.math_ops import cast # line: 940
from tensorflow.python.ops.math_ops import complex # line: 695
from tensorflow.python.ops.math_ops import saturate_cast # line: 1025
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "dtypes", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,23 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.dtypes.experimental namespace
"""
import sys as _sys
from tensorflow.python.framework.dtypes import float8_e4m3b11fnuz # line: 465
from tensorflow.python.framework.dtypes import float8_e4m3fn # line: 439
from tensorflow.python.framework.dtypes import float8_e4m3fnuz # line: 452
from tensorflow.python.framework.dtypes import float8_e5m2 # line: 426
from tensorflow.python.framework.dtypes import float8_e5m2fnuz # line: 478
from tensorflow.python.framework.dtypes import int2 # line: 496
from tensorflow.python.framework.dtypes import int4 # line: 484
from tensorflow.python.framework.dtypes import uint2 # line: 502
from tensorflow.python.framework.dtypes import uint4 # line: 490
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "dtypes.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,51 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.errors namespace
"""
import sys as _sys
from tensorflow.python.framework.errors_impl import ABORTED # line: 214
from tensorflow.python.framework.errors_impl import ALREADY_EXISTS # line: 201
from tensorflow.python.framework.errors_impl import AbortedError # line: 401
from tensorflow.python.framework.errors_impl import AlreadyExistsError # line: 318
from tensorflow.python.framework.errors_impl import CANCELLED # line: 189
from tensorflow.python.framework.errors_impl import CancelledError # line: 227
from tensorflow.python.framework.errors_impl import DATA_LOSS # line: 224
from tensorflow.python.framework.errors_impl import DEADLINE_EXCEEDED # line: 196
from tensorflow.python.framework.errors_impl import DataLossError # line: 480
from tensorflow.python.framework.errors_impl import DeadlineExceededError # line: 290
from tensorflow.python.framework.errors_impl import FAILED_PRECONDITION # line: 211
from tensorflow.python.framework.errors_impl import FailedPreconditionError # line: 383
from tensorflow.python.framework.errors_impl import INTERNAL # line: 220
from tensorflow.python.framework.errors_impl import INVALID_ARGUMENT # line: 193
from tensorflow.python.framework.errors_impl import InternalError # line: 454
from tensorflow.python.framework.errors_impl import InvalidArgumentError # line: 270
from tensorflow.python.framework.errors_impl import NOT_FOUND # line: 199
from tensorflow.python.framework.errors_impl import NotFoundError # line: 303
from tensorflow.python.framework.errors_impl import OK # line: 187
from tensorflow.python.framework.errors_impl import OUT_OF_RANGE # line: 216
from tensorflow.python.framework.errors_impl import OpError # line: 57
from tensorflow.python.framework.errors_impl import OutOfRangeError # line: 417
from tensorflow.python.framework.errors_impl import PERMISSION_DENIED # line: 203
from tensorflow.python.framework.errors_impl import PermissionDeniedError # line: 338
from tensorflow.python.framework.errors_impl import RESOURCE_EXHAUSTED # line: 208
from tensorflow.python.framework.errors_impl import ResourceExhaustedError # line: 367
from tensorflow.python.framework.errors_impl import UNAUTHENTICATED # line: 206
from tensorflow.python.framework.errors_impl import UNAVAILABLE # line: 222
from tensorflow.python.framework.errors_impl import UNIMPLEMENTED # line: 218
from tensorflow.python.framework.errors_impl import UNKNOWN # line: 191
from tensorflow.python.framework.errors_impl import UnauthenticatedError # line: 354
from tensorflow.python.framework.errors_impl import UnavailableError # line: 467
from tensorflow.python.framework.errors_impl import UnimplementedError # line: 437
from tensorflow.python.framework.errors_impl import UnknownError # line: 254
from tensorflow.python.framework.errors_impl import error_code_from_exception_type # line: 530
from tensorflow.python.framework.errors_impl import exception_type_from_error_code # line: 525
from tensorflow.python.framework.errors_impl import raise_exception_on_not_ok_status # line: 552
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "errors", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,43 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.experimental namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.experimental import extension_type
from tensorflow.python.data.ops.optional_ops import Optional # line: 31
from tensorflow.python.eager.context import async_clear_error # line: 3118
from tensorflow.python.eager.context import async_scope # line: 3054
from tensorflow.python.eager.context import function_executor_type # line: 2903
from tensorflow.python.framework.dtypes import float8_e4m3b11fnuz # line: 465
from tensorflow.python.framework.dtypes import float8_e4m3fn # line: 439
from tensorflow.python.framework.dtypes import float8_e4m3fnuz # line: 452
from tensorflow.python.framework.dtypes import float8_e5m2 # line: 426
from tensorflow.python.framework.dtypes import float8_e5m2fnuz # line: 478
from tensorflow.python.framework.dtypes import int2 # line: 496
from tensorflow.python.framework.dtypes import int4 # line: 484
from tensorflow.python.framework.dtypes import uint2 # line: 502
from tensorflow.python.framework.dtypes import uint4 # line: 490
from tensorflow.python.framework.extension_type import BatchableExtensionType # line: 831
from tensorflow.python.framework.extension_type import ExtensionType # line: 99
from tensorflow.python.framework.extension_type import ExtensionTypeBatchEncoder # line: 651
from tensorflow.python.framework.extension_type import ExtensionTypeSpec # line: 419
from tensorflow.python.framework.load_library import register_filesystem_plugin # line: 199
from tensorflow.python.framework.strict_mode import enable_strict_mode # line: 22
from tensorflow.python.ops.control_flow_util_v2 import set_output_all_intermediates as output_all_intermediates # line: 404
from tensorflow.python.ops.ragged.dynamic_ragged_shape import DynamicRaggedShape # line: 167
from tensorflow.python.ops.ragged.row_partition import RowPartition # line: 56
from tensorflow.python.ops.structured.structured_tensor import StructuredTensor # line: 53
from tensorflow.python.util.dispatch import dispatch_for_api # line: 334
from tensorflow.python.util.dispatch import dispatch_for_binary_elementwise_apis # line: 878
from tensorflow.python.util.dispatch import dispatch_for_binary_elementwise_assert_apis # line: 936
from tensorflow.python.util.dispatch import dispatch_for_unary_elementwise_apis # line: 811
from tensorflow.python.util.dispatch import unregister_dispatch_for # line: 553
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.experimental.extension_type namespace
"""
import sys as _sys
from tensorflow.python.framework.extension_type import as_dict # line: 332
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "experimental.extension_type", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,33 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.feature_column namespace
"""
import sys as _sys
from tensorflow.python.feature_column.feature_column import input_layer # line: 146
from tensorflow.python.feature_column.feature_column import linear_model # line: 281
from tensorflow.python.feature_column.feature_column import make_parse_example_spec # line: 672
from tensorflow.python.feature_column.feature_column_v2 import bucketized_column # line: 918
from tensorflow.python.feature_column.feature_column_v2 import categorical_column_with_hash_bucket # line: 1005
from tensorflow.python.feature_column.feature_column_v2 import categorical_column_with_identity # line: 1442
from tensorflow.python.feature_column.feature_column_v2 import categorical_column_with_vocabulary_file # line: 1077
from tensorflow.python.feature_column.feature_column_v2 import categorical_column_with_vocabulary_list # line: 1323
from tensorflow.python.feature_column.feature_column_v2 import crossed_column # line: 1643
from tensorflow.python.feature_column.feature_column_v2 import embedding_column # line: 436
from tensorflow.python.feature_column.feature_column_v2 import indicator_column # line: 1520
from tensorflow.python.feature_column.feature_column_v2 import numeric_column # line: 818
from tensorflow.python.feature_column.feature_column_v2 import shared_embedding_columns # line: 519
from tensorflow.python.feature_column.feature_column_v2 import weighted_categorical_column # line: 1565
from tensorflow.python.feature_column.sequence_feature_column import sequence_categorical_column_with_hash_bucket # line: 153
from tensorflow.python.feature_column.sequence_feature_column import sequence_categorical_column_with_identity # line: 103
from tensorflow.python.feature_column.sequence_feature_column import sequence_categorical_column_with_vocabulary_file # line: 200
from tensorflow.python.feature_column.sequence_feature_column import sequence_categorical_column_with_vocabulary_list # line: 270
from tensorflow.python.feature_column.sequence_feature_column import sequence_numeric_column # line: 337
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "feature_column", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,29 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.gfile namespace
"""
import sys as _sys
from tensorflow.python.lib.io.file_io import copy as Copy # line: 585
from tensorflow.python.lib.io.file_io import delete_recursively as DeleteRecursively # line: 653
from tensorflow.python.lib.io.file_io import file_exists as Exists # line: 296
from tensorflow.python.lib.io.file_io import get_matching_files as Glob # line: 368
from tensorflow.python.lib.io.file_io import is_directory as IsDirectory # line: 679
from tensorflow.python.lib.io.file_io import list_directory as ListDirectory # line: 732
from tensorflow.python.lib.io.file_io import recursive_create_dir as MakeDirs # line: 486
from tensorflow.python.lib.io.file_io import create_dir as MkDir # line: 454
from tensorflow.python.lib.io.file_io import delete_file as Remove # line: 304
from tensorflow.python.lib.io.file_io import rename as Rename # line: 593
from tensorflow.python.lib.io.file_io import stat as Stat # line: 895
from tensorflow.python.lib.io.file_io import walk as Walk # line: 819
from tensorflow.python.platform.gfile import FastGFile # line: 117
from tensorflow.python.platform.gfile import GFile # line: 36
from tensorflow.python.platform.gfile import GFile as Open # line: 36
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "gfile", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,20 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.graph_util namespace
"""
import sys as _sys
from tensorflow.python.framework.convert_to_constants import convert_variables_to_constants # line: 1301
from tensorflow.python.framework.graph_util_impl import extract_sub_graph # line: 221
from tensorflow.python.framework.graph_util_impl import must_run_on_cpu # line: 105
from tensorflow.python.framework.graph_util_impl import remove_training_nodes # line: 282
from tensorflow.python.framework.graph_util_impl import tensor_shape_from_node_def_name # line: 264
from tensorflow.python.framework.importer import import_graph_def # line: 358
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "graph_util", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,85 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.image namespace
"""
import sys as _sys
from tensorflow.python.ops.gen_image_ops import hsv_to_rgb # line: 2359
from tensorflow.python.ops.gen_image_ops import rgb_to_hsv # line: 3364
from tensorflow.python.ops.array_ops import extract_image_patches # line: 6317
from tensorflow.python.ops.array_ops import extract_image_patches_v2 as extract_patches # line: 6195
from tensorflow.python.ops.image_ops_impl import ResizeMethodV1 as ResizeMethod # line: 1434
from tensorflow.python.ops.image_ops_impl import adjust_brightness # line: 2201
from tensorflow.python.ops.image_ops_impl import adjust_contrast # line: 2254
from tensorflow.python.ops.image_ops_impl import adjust_gamma # line: 2313
from tensorflow.python.ops.image_ops_impl import adjust_hue # line: 2737
from tensorflow.python.ops.image_ops_impl import adjust_jpeg_quality # line: 2923
from tensorflow.python.ops.image_ops_impl import adjust_saturation # line: 3109
from tensorflow.python.ops.image_ops_impl import central_crop # line: 859
from tensorflow.python.ops.image_ops_impl import combined_non_max_suppression # line: 5141
from tensorflow.python.ops.image_ops_impl import convert_image_dtype # line: 2379
from tensorflow.python.ops.image_ops_impl import crop_and_resize_v1 as crop_and_resize # line: 4945
from tensorflow.python.ops.image_ops_impl import crop_to_bounding_box # line: 1170
from tensorflow.python.ops.image_ops_impl import decode_and_crop_jpeg # line: 3200
from tensorflow.python.ops.image_ops_impl import decode_bmp # line: 3206
from tensorflow.python.ops.image_ops_impl import decode_gif # line: 3211
from tensorflow.python.ops.image_ops_impl import decode_image # line: 3274
from tensorflow.python.ops.image_ops_impl import decode_jpeg # line: 3216
from tensorflow.python.ops.image_ops_impl import decode_png # line: 3221
from tensorflow.python.ops.image_ops_impl import decode_webp # line: 3226
from tensorflow.python.ops.image_ops_impl import draw_bounding_boxes # line: 5854
from tensorflow.python.ops.image_ops_impl import encode_jpeg # line: 3232
from tensorflow.python.ops.image_ops_impl import encode_png # line: 3244
from tensorflow.python.ops.image_ops_impl import extract_glimpse # line: 4968
from tensorflow.python.ops.image_ops_impl import extract_jpeg_shape # line: 3237
from tensorflow.python.ops.image_ops_impl import flip_left_right # line: 548
from tensorflow.python.ops.image_ops_impl import flip_up_down # line: 583
from tensorflow.python.ops.image_ops_impl import generate_bounding_box_proposals # line: 5907
from tensorflow.python.ops.image_ops_impl import grayscale_to_rgb # line: 2600
from tensorflow.python.ops.image_ops_impl import image_gradients # line: 4618
from tensorflow.python.ops.image_ops_impl import is_jpeg # line: 3164
from tensorflow.python.ops.image_ops_impl import non_max_suppression # line: 3789
from tensorflow.python.ops.image_ops_impl import non_max_suppression_with_overlaps as non_max_suppression_overlaps # line: 3932
from tensorflow.python.ops.image_ops_impl import non_max_suppression_padded # line: 5409
from tensorflow.python.ops.image_ops_impl import non_max_suppression_with_scores # line: 3842
from tensorflow.python.ops.image_ops_impl import pad_to_bounding_box # line: 1006
from tensorflow.python.ops.image_ops_impl import per_image_standardization # line: 1958
from tensorflow.python.ops.image_ops_impl import psnr # line: 4173
from tensorflow.python.ops.image_ops_impl import random_brightness # line: 2017
from tensorflow.python.ops.image_ops_impl import random_contrast # line: 2108
from tensorflow.python.ops.image_ops_impl import random_flip_left_right # line: 384
from tensorflow.python.ops.image_ops_impl import random_flip_up_down # line: 337
from tensorflow.python.ops.image_ops_impl import random_hue # line: 2637
from tensorflow.python.ops.image_ops_impl import random_jpeg_quality # line: 2813
from tensorflow.python.ops.image_ops_impl import random_saturation # line: 3007
from tensorflow.python.ops.image_ops_impl import resize_images as resize # line: 1534
from tensorflow.python.ops.image_ops_impl import resize_area # line: 4829
from tensorflow.python.ops.image_ops_impl import resize_bicubic # line: 4761
from tensorflow.python.ops.image_ops_impl import resize_bilinear # line: 4782
from tensorflow.python.ops.image_ops_impl import resize_image_with_crop_or_pad # line: 1277
from tensorflow.python.ops.image_ops_impl import resize_image_with_pad_v1 as resize_image_with_pad # line: 1874
from tensorflow.python.ops.image_ops_impl import resize_images # line: 1534
from tensorflow.python.ops.image_ops_impl import resize_nearest_neighbor # line: 4803
from tensorflow.python.ops.image_ops_impl import resize_image_with_crop_or_pad as resize_with_crop_or_pad # line: 1277
from tensorflow.python.ops.image_ops_impl import rgb_to_grayscale # line: 2564
from tensorflow.python.ops.image_ops_impl import rgb_to_yiq # line: 3986
from tensorflow.python.ops.image_ops_impl import rgb_to_yuv # line: 4049
from tensorflow.python.ops.image_ops_impl import rot90 # line: 660
from tensorflow.python.ops.image_ops_impl import sample_distorted_bounding_box # line: 3665
from tensorflow.python.ops.image_ops_impl import sobel_edges # line: 4692
from tensorflow.python.ops.image_ops_impl import ssim # line: 4391
from tensorflow.python.ops.image_ops_impl import ssim_multiscale # line: 4489
from tensorflow.python.ops.image_ops_impl import total_variation # line: 3343
from tensorflow.python.ops.image_ops_impl import transpose # line: 789
from tensorflow.python.ops.image_ops_impl import transpose as transpose_image # line: 789
from tensorflow.python.ops.image_ops_impl import yiq_to_rgb # line: 4020
from tensorflow.python.ops.image_ops_impl import yuv_to_rgb # line: 4079
from tensorflow.python.ops.random_crop_ops import random_crop # line: 30
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "image", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,34 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.initializers namespace
"""
import sys as _sys
from tensorflow.python.ops.init_ops import Constant as constant # line: 219
from tensorflow.python.ops.init_ops import GlorotNormal as glorot_normal # line: 1627
from tensorflow.python.ops.init_ops import GlorotUniform as glorot_uniform # line: 1595
from tensorflow.python.ops.init_ops import he_normal # line: 1737
from tensorflow.python.ops.init_ops import he_uniform # line: 1762
from tensorflow.python.ops.init_ops import Identity as identity # line: 1555
from tensorflow.python.ops.init_ops import lecun_normal # line: 1682
from tensorflow.python.ops.init_ops import lecun_uniform # line: 1710
from tensorflow.python.ops.init_ops import Ones as ones # line: 182
from tensorflow.python.ops.init_ops import Orthogonal as orthogonal # line: 895
from tensorflow.python.ops.init_ops import RandomNormal as random_normal # line: 487
from tensorflow.python.ops.init_ops import RandomUniform as random_uniform # line: 397
from tensorflow.python.ops.init_ops import TruncatedNormal as truncated_normal # line: 577
from tensorflow.python.ops.init_ops import UniformUnitScaling as uniform_unit_scaling # line: 673
from tensorflow.python.ops.init_ops import VarianceScaling as variance_scaling # line: 741
from tensorflow.python.ops.init_ops import Zeros as zeros # line: 97
from tensorflow.python.ops.lookup_ops import tables_initializer # line: 67
from tensorflow.python.ops.variables import global_variables_initializer as global_variables # line: 1966
from tensorflow.python.ops.variables import local_variables_initializer as local_variables # line: 1993
from tensorflow.python.ops.variables import variables_initializer as variables # line: 1927
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "initializers", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,61 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.io namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.io import gfile
from tensorflow.python.ops.gen_decode_proto_ops import decode_proto_v2 as decode_proto # line: 31
from tensorflow.python.ops.gen_encode_proto_ops import encode_proto # line: 27
from tensorflow.python.ops.gen_io_ops import matching_files # line: 391
from tensorflow.python.ops.gen_io_ops import write_file # line: 2269
from tensorflow.python.ops.gen_parsing_ops import decode_compressed # line: 144
from tensorflow.python.ops.gen_parsing_ops import parse_tensor # line: 2135
from tensorflow.python.ops.gen_string_ops import decode_base64 # line: 182
from tensorflow.python.ops.gen_string_ops import encode_base64 # line: 269
from tensorflow.python.framework.graph_io import write_graph # line: 28
from tensorflow.python.lib.io.tf_record import TFRecordCompressionType # line: 24
from tensorflow.python.lib.io.tf_record import TFRecordOptions # line: 35
from tensorflow.python.lib.io.tf_record import TFRecordWriter # line: 211
from tensorflow.python.lib.io.tf_record import tf_record_iterator # line: 148
from tensorflow.python.ops.data_flow_ops import PaddingFIFOQueue # line: 912
from tensorflow.python.ops.data_flow_ops import PriorityQueue # line: 988
from tensorflow.python.ops.data_flow_ops import QueueBase # line: 115
from tensorflow.python.ops.data_flow_ops import RandomShuffleQueue # line: 682
from tensorflow.python.ops.image_ops_impl import decode_and_crop_jpeg # line: 3200
from tensorflow.python.ops.image_ops_impl import decode_bmp # line: 3206
from tensorflow.python.ops.image_ops_impl import decode_gif # line: 3211
from tensorflow.python.ops.image_ops_impl import decode_image # line: 3274
from tensorflow.python.ops.image_ops_impl import decode_jpeg # line: 3216
from tensorflow.python.ops.image_ops_impl import decode_png # line: 3221
from tensorflow.python.ops.image_ops_impl import decode_webp # line: 3226
from tensorflow.python.ops.image_ops_impl import encode_jpeg # line: 3232
from tensorflow.python.ops.image_ops_impl import encode_png # line: 3244
from tensorflow.python.ops.image_ops_impl import extract_jpeg_shape # line: 3237
from tensorflow.python.ops.image_ops_impl import is_jpeg # line: 3164
from tensorflow.python.ops.io_ops import read_file # line: 97
from tensorflow.python.ops.io_ops import serialize_tensor # line: 137
from tensorflow.python.ops.parsing_config import FixedLenFeature # line: 298
from tensorflow.python.ops.parsing_config import FixedLenSequenceFeature # line: 318
from tensorflow.python.ops.parsing_config import RaggedFeature # line: 54
from tensorflow.python.ops.parsing_config import SparseFeature # line: 223
from tensorflow.python.ops.parsing_config import VarLenFeature # line: 44
from tensorflow.python.ops.parsing_ops import decode_csv # line: 1020
from tensorflow.python.ops.parsing_ops import decode_json_example # line: 1149
from tensorflow.python.ops.parsing_ops import decode_raw_v1 as decode_raw # line: 975
from tensorflow.python.ops.parsing_ops import parse_example # line: 310
from tensorflow.python.ops.parsing_ops import parse_sequence_example # line: 449
from tensorflow.python.ops.parsing_ops import parse_single_example # line: 370
from tensorflow.python.ops.parsing_ops import parse_single_sequence_example # line: 693
from tensorflow.python.ops.sparse_ops import deserialize_many_sparse # line: 2356
from tensorflow.python.ops.sparse_ops import serialize_many_sparse # line: 2224
from tensorflow.python.ops.sparse_ops import serialize_sparse # line: 2176
from tensorflow.python.training.input import match_filenames_once # line: 56
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "io", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,29 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.io.gfile namespace
"""
import sys as _sys
from tensorflow.python.lib.io.file_io import copy_v2 as copy # line: 516
from tensorflow.python.lib.io.file_io import file_exists_v2 as exists # line: 249
from tensorflow.python.lib.io.file_io import get_registered_schemes # line: 980
from tensorflow.python.lib.io.file_io import get_matching_files_v2 as glob # line: 385
from tensorflow.python.lib.io.file_io import is_directory_v2 as isdir # line: 692
from tensorflow.python.lib.io.file_io import join # line: 781
from tensorflow.python.lib.io.file_io import list_directory_v2 as listdir # line: 751
from tensorflow.python.lib.io.file_io import recursive_create_dir_v2 as makedirs # line: 501
from tensorflow.python.lib.io.file_io import create_dir_v2 as mkdir # line: 470
from tensorflow.python.lib.io.file_io import delete_file_v2 as remove # line: 318
from tensorflow.python.lib.io.file_io import rename_v2 as rename # line: 609
from tensorflow.python.lib.io.file_io import delete_recursively_v2 as rmtree # line: 666
from tensorflow.python.lib.io.file_io import stat_v2 as stat # line: 911
from tensorflow.python.lib.io.file_io import walk_v2 as walk # line: 837
from tensorflow.python.platform.gfile import GFile # line: 36
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "io.gfile", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.layers namespace
"""
import sys as _sys
from tensorflow.python.keras.engine.input_spec import InputSpec # line: 27
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "layers", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,81 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.linalg namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.linalg import experimental
from tensorflow.python.ops.gen_array_ops import matrix_band_part as band_part # line: 4921
from tensorflow.python.ops.gen_array_ops import diag as tensor_diag # line: 1949
from tensorflow.python.ops.gen_linalg_ops import cholesky # line: 766
from tensorflow.python.ops.gen_linalg_ops import matrix_determinant as det # line: 1370
from tensorflow.python.ops.gen_linalg_ops import matrix_inverse as inv # line: 1516
from tensorflow.python.ops.gen_linalg_ops import lu # line: 1252
from tensorflow.python.ops.gen_linalg_ops import qr # line: 2150
from tensorflow.python.ops.gen_linalg_ops import matrix_solve as solve # line: 1694
from tensorflow.python.ops.gen_linalg_ops import matrix_square_root as sqrtm # line: 1913
from tensorflow.python.ops.gen_math_ops import cross # line: 2708
from tensorflow.python.ops.array_ops import matrix_diag as diag # line: 2075
from tensorflow.python.ops.array_ops import matrix_diag_part as diag_part # line: 2244
from tensorflow.python.ops.array_ops import matrix_transpose # line: 1995
from tensorflow.python.ops.array_ops import matrix_set_diag as set_diag # line: 2432
from tensorflow.python.ops.array_ops import tensor_diag_part # line: 2387
from tensorflow.python.ops.array_ops import matrix_transpose as transpose # line: 1995
from tensorflow.python.ops.clip_ops import global_norm # line: 245
from tensorflow.python.ops.linalg.linalg_impl import adjoint # line: 102
from tensorflow.python.ops.linalg.linalg_impl import eigh_tridiagonal # line: 1232
from tensorflow.python.ops.linalg.linalg_impl import matrix_exponential as expm # line: 232
from tensorflow.python.ops.linalg.linalg_impl import logdet # line: 68
from tensorflow.python.ops.linalg.linalg_impl import logm # line: 54
from tensorflow.python.ops.linalg.linalg_impl import lu_matrix_inverse # line: 1035
from tensorflow.python.ops.linalg.linalg_impl import lu_reconstruct # line: 1100
from tensorflow.python.ops.linalg.linalg_impl import lu_solve # line: 937
from tensorflow.python.ops.linalg.linalg_impl import matrix_rank # line: 768
from tensorflow.python.ops.linalg.linalg_impl import pinv # line: 807
from tensorflow.python.ops.linalg.linalg_impl import slogdet # line: 44
from tensorflow.python.ops.linalg.linalg_impl import tridiagonal_matmul # line: 670
from tensorflow.python.ops.linalg.linalg_impl import tridiagonal_solve # line: 446
from tensorflow.python.ops.linalg.linear_operator import LinearOperator # line: 91
from tensorflow.python.ops.linalg.linear_operator_adjoint import LinearOperatorAdjoint # line: 28
from tensorflow.python.ops.linalg.linear_operator_block_diag import LinearOperatorBlockDiag # line: 34
from tensorflow.python.ops.linalg.linear_operator_block_lower_triangular import LinearOperatorBlockLowerTriangular # line: 39
from tensorflow.python.ops.linalg.linear_operator_circulant import LinearOperatorCirculant # line: 740
from tensorflow.python.ops.linalg.linear_operator_circulant import LinearOperatorCirculant2D # line: 1061
from tensorflow.python.ops.linalg.linear_operator_circulant import LinearOperatorCirculant3D # line: 1316
from tensorflow.python.ops.linalg.linear_operator_composition import LinearOperatorComposition # line: 35
from tensorflow.python.ops.linalg.linear_operator_diag import LinearOperatorDiag # line: 32
from tensorflow.python.ops.linalg.linear_operator_full_matrix import LinearOperatorFullMatrix # line: 29
from tensorflow.python.ops.linalg.linear_operator_householder import LinearOperatorHouseholder # line: 32
from tensorflow.python.ops.linalg.linear_operator_identity import LinearOperatorIdentity # line: 101
from tensorflow.python.ops.linalg.linear_operator_identity import LinearOperatorScaledIdentity # line: 538
from tensorflow.python.ops.linalg.linear_operator_inversion import LinearOperatorInversion # line: 25
from tensorflow.python.ops.linalg.linear_operator_kronecker import LinearOperatorKronecker # line: 60
from tensorflow.python.ops.linalg.linear_operator_low_rank_update import LinearOperatorLowRankUpdate # line: 35
from tensorflow.python.ops.linalg.linear_operator_lower_triangular import LinearOperatorLowerTriangular # line: 31
from tensorflow.python.ops.linalg.linear_operator_permutation import LinearOperatorPermutation # line: 35
from tensorflow.python.ops.linalg.linear_operator_toeplitz import LinearOperatorToeplitz # line: 33
from tensorflow.python.ops.linalg.linear_operator_tridiag import LinearOperatorTridiag # line: 39
from tensorflow.python.ops.linalg.linear_operator_zeros import LinearOperatorZeros # line: 39
from tensorflow.python.ops.linalg_ops import cholesky_solve # line: 147
from tensorflow.python.ops.linalg_ops import self_adjoint_eig as eigh # line: 441
from tensorflow.python.ops.linalg_ops import self_adjoint_eigvals as eigvalsh # line: 465
from tensorflow.python.ops.linalg_ops import eye # line: 196
from tensorflow.python.ops.linalg_ops import matrix_solve_ls as lstsq # line: 244
from tensorflow.python.ops.linalg_ops import norm # line: 633
from tensorflow.python.ops.linalg_ops import svd # line: 489
from tensorflow.python.ops.linalg_ops import matrix_triangular_solve as triangular_solve # line: 84
from tensorflow.python.ops.math_ops import matmul # line: 3443
from tensorflow.python.ops.math_ops import matvec # line: 3711
from tensorflow.python.ops.math_ops import tensordot # line: 5215
from tensorflow.python.ops.math_ops import trace # line: 3399
from tensorflow.python.ops.nn_impl import l2_normalize # line: 540
from tensorflow.python.ops.nn_impl import normalize # line: 487
from tensorflow.python.ops.special_math_ops import einsum # line: 618
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "linalg", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.linalg.experimental namespace
"""
import sys as _sys
from tensorflow.python.ops.linalg.sparse.conjugate_gradient import conjugate_gradient # line: 30
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "linalg.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,25 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.lite namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.lite import constants
from tensorflow._api.v2.compat.v1.lite import experimental
from tensorflow.lite.python.convert import OpsSet # line: 153
from tensorflow.lite.python.convert import toco_convert # line: 946
from tensorflow.lite.python.interpreter import Interpreter # line: 360
from tensorflow.lite.python.lite import Optimize # line: 112
from tensorflow.lite.python.lite import RepresentativeDataset # line: 171
from tensorflow.lite.python.lite import TFLiteConverter # line: 3016
from tensorflow.lite.python.lite import TargetSpec # line: 195
from tensorflow.lite.python.lite import TocoConverter # line: 3392
from tensorflow.lite.python.op_hint import OpHint # line: 88
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "lite", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,24 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.lite.constants namespace
"""
import sys as _sys
from tensorflow.lite.python.lite_constants import FLOAT # line: 50
from tensorflow.lite.python.lite_constants import FLOAT16 # line: 51
from tensorflow.lite.python.lite_constants import GRAPHVIZ_DOT # line: 60
from tensorflow.lite.python.lite_constants import INT16 # line: 58
from tensorflow.lite.python.lite_constants import INT32 # line: 52
from tensorflow.lite.python.lite_constants import INT64 # line: 53
from tensorflow.lite.python.lite_constants import INT8 # line: 57
from tensorflow.lite.python.lite_constants import QUANTIZED_UINT8 # line: 55
from tensorflow.lite.python.lite_constants import STRING # line: 54
from tensorflow.lite.python.lite_constants import TFLITE # line: 59
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "lite.constants", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,21 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.lite.experimental namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.lite.experimental import authoring
from tensorflow.lite.python.analyzer import ModelAnalyzer as Analyzer # line: 35
from tensorflow.lite.python.interpreter import OpResolverType # line: 315
from tensorflow.lite.python.interpreter import load_delegate # line: 137
from tensorflow.lite.python.op_hint import convert_op_hints_to_stubs # line: 1292
from tensorflow.lite.tools.optimize.debugging.python.debugger import QuantizationDebugOptions # line: 56
from tensorflow.lite.tools.optimize.debugging.python.debugger import QuantizationDebugger # line: 120
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "lite.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.lite.experimental.authoring namespace
"""
import sys as _sys
from tensorflow.lite.python.authoring.authoring import compatible # line: 263
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "lite.experimental.authoring", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,34 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.logging namespace
"""
import sys as _sys
from tensorflow.python.platform.tf_logging import DEBUG # line: 368
from tensorflow.python.platform.tf_logging import ERROR # line: 369
from tensorflow.python.platform.tf_logging import FATAL # line: 370
from tensorflow.python.platform.tf_logging import INFO # line: 371
from tensorflow.python.platform.tf_logging import TaskLevelStatusMessage # line: 235
from tensorflow.python.platform.tf_logging import WARN # line: 372
from tensorflow.python.platform.tf_logging import debug # line: 187
from tensorflow.python.platform.tf_logging import error # line: 192
from tensorflow.python.platform.tf_logging import fatal # line: 197
from tensorflow.python.platform.tf_logging import flush # line: 240
from tensorflow.python.platform.tf_logging import get_verbosity # line: 348
from tensorflow.python.platform.tf_logging import info # line: 202
from tensorflow.python.platform.tf_logging import log # line: 182
from tensorflow.python.platform.tf_logging import log_every_n # line: 266
from tensorflow.python.platform.tf_logging import log_first_n # line: 283
from tensorflow.python.platform.tf_logging import log_if # line: 299
from tensorflow.python.platform.tf_logging import set_verbosity # line: 354
from tensorflow.python.platform.tf_logging import vlog # line: 246
from tensorflow.python.platform.tf_logging import warn # line: 207
from tensorflow.python.platform.tf_logging import warning # line: 212
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "logging", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,20 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.lookup namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.lookup import experimental
from tensorflow.python.ops.lookup_ops import KeyValueTensorInitializer # line: 521
from tensorflow.python.ops.lookup_ops import StaticHashTableV1 as StaticHashTable # line: 416
from tensorflow.python.ops.lookup_ops import StaticVocabularyTableV1 as StaticVocabularyTable # line: 1411
from tensorflow.python.ops.lookup_ops import TextFileIndex # line: 589
from tensorflow.python.ops.lookup_ops import TextFileInitializer # line: 609
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "lookup", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,16 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.lookup.experimental namespace
"""
import sys as _sys
from tensorflow.python.ops.lookup_ops import DenseHashTable # line: 2110
from tensorflow.python.ops.lookup_ops import MutableHashTable # line: 1798
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "lookup.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,31 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.losses namespace
"""
import sys as _sys
from tensorflow.python.ops.losses.losses_impl import Reduction # line: 35
from tensorflow.python.ops.losses.losses_impl import absolute_difference # line: 216
from tensorflow.python.ops.losses.losses_impl import compute_weighted_loss # line: 137
from tensorflow.python.ops.losses.losses_impl import cosine_distance # line: 270
from tensorflow.python.ops.losses.losses_impl import hinge_loss # line: 327
from tensorflow.python.ops.losses.losses_impl import huber_loss # line: 378
from tensorflow.python.ops.losses.losses_impl import log_loss # line: 455
from tensorflow.python.ops.losses.losses_impl import mean_pairwise_squared_error # line: 513
from tensorflow.python.ops.losses.losses_impl import mean_squared_error # line: 621
from tensorflow.python.ops.losses.losses_impl import sigmoid_cross_entropy # line: 771
from tensorflow.python.ops.losses.losses_impl import softmax_cross_entropy # line: 837
from tensorflow.python.ops.losses.losses_impl import sparse_softmax_cross_entropy # line: 1046
from tensorflow.python.ops.losses.util import add_loss # line: 174
from tensorflow.python.ops.losses.util import get_losses # line: 189
from tensorflow.python.ops.losses.util import get_regularization_loss # line: 216
from tensorflow.python.ops.losses.util import get_regularization_losses # line: 203
from tensorflow.python.ops.losses.util import get_total_loss # line: 234
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "losses", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,22 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.manip namespace
"""
import sys as _sys
from tensorflow.python.ops.gen_array_ops import batch_to_space_nd # line: 343
from tensorflow.python.ops.gen_array_ops import reverse_v2 as reverse # line: 9182
from tensorflow.python.ops.gen_array_ops import scatter_nd # line: 9318
from tensorflow.python.ops.gen_array_ops import space_to_batch_nd # line: 10152
from tensorflow.python.ops.gen_array_ops import tile # line: 12133
from tensorflow.python.ops.array_ops import gather_nd # line: 5155
from tensorflow.python.ops.array_ops import reshape # line: 63
from tensorflow.python.ops.manip_ops import roll # line: 27
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "manip", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,146 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.math namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.math import special
from tensorflow.python.ops.gen_array_ops import invert_permutation # line: 4634
from tensorflow.python.ops.gen_math_ops import acosh # line: 231
from tensorflow.python.ops.gen_math_ops import asin # line: 991
from tensorflow.python.ops.gen_math_ops import asinh # line: 1091
from tensorflow.python.ops.gen_math_ops import atan # line: 1184
from tensorflow.python.ops.gen_math_ops import atan2 # line: 1284
from tensorflow.python.ops.gen_math_ops import atanh # line: 1383
from tensorflow.python.ops.gen_math_ops import betainc # line: 1844
from tensorflow.python.ops.gen_math_ops import cos # line: 2521
from tensorflow.python.ops.gen_math_ops import cosh # line: 2615
from tensorflow.python.ops.gen_math_ops import digamma # line: 3218
from tensorflow.python.ops.gen_math_ops import erf # line: 3511
from tensorflow.python.ops.gen_math_ops import erfc # line: 3603
from tensorflow.python.ops.gen_math_ops import expm1 # line: 3904
from tensorflow.python.ops.gen_math_ops import floor_mod as floormod # line: 4149
from tensorflow.python.ops.gen_math_ops import greater # line: 4243
from tensorflow.python.ops.gen_math_ops import greater_equal # line: 4344
from tensorflow.python.ops.gen_math_ops import igamma # line: 4537
from tensorflow.python.ops.gen_math_ops import igammac # line: 4696
from tensorflow.python.ops.gen_math_ops import is_finite # line: 4992
from tensorflow.python.ops.gen_math_ops import is_inf # line: 5088
from tensorflow.python.ops.gen_math_ops import is_nan # line: 5184
from tensorflow.python.ops.gen_math_ops import less # line: 5280
from tensorflow.python.ops.gen_math_ops import less_equal # line: 5381
from tensorflow.python.ops.gen_math_ops import lgamma # line: 5482
from tensorflow.python.ops.gen_math_ops import log # line: 5652
from tensorflow.python.ops.gen_math_ops import log1p # line: 5746
from tensorflow.python.ops.gen_math_ops import logical_and # line: 5836
from tensorflow.python.ops.gen_math_ops import logical_not # line: 5975
from tensorflow.python.ops.gen_math_ops import logical_or # line: 6062
from tensorflow.python.ops.gen_math_ops import maximum # line: 6383
from tensorflow.python.ops.gen_math_ops import minimum # line: 6639
from tensorflow.python.ops.gen_math_ops import floor_mod as mod # line: 4149
from tensorflow.python.ops.gen_math_ops import neg as negative # line: 6986
from tensorflow.python.ops.gen_math_ops import next_after as nextafter # line: 7072
from tensorflow.python.ops.gen_math_ops import polygamma # line: 7240
from tensorflow.python.ops.gen_math_ops import reciprocal # line: 8232
from tensorflow.python.ops.gen_math_ops import rint # line: 8729
from tensorflow.python.ops.gen_math_ops import segment_max # line: 9003
from tensorflow.python.ops.gen_math_ops import segment_mean # line: 9237
from tensorflow.python.ops.gen_math_ops import segment_min # line: 9362
from tensorflow.python.ops.gen_math_ops import segment_prod # line: 9596
from tensorflow.python.ops.gen_math_ops import segment_sum # line: 9822
from tensorflow.python.ops.gen_math_ops import sin # line: 10372
from tensorflow.python.ops.gen_math_ops import sinh # line: 10465
from tensorflow.python.ops.gen_math_ops import square # line: 12035
from tensorflow.python.ops.gen_math_ops import squared_difference # line: 12124
from tensorflow.python.ops.gen_math_ops import tan # line: 12425
from tensorflow.python.ops.gen_math_ops import tanh # line: 12519
from tensorflow.python.ops.gen_math_ops import unsorted_segment_max # line: 12862
from tensorflow.python.ops.gen_math_ops import unsorted_segment_min # line: 13000
from tensorflow.python.ops.gen_math_ops import unsorted_segment_prod # line: 13134
from tensorflow.python.ops.gen_math_ops import unsorted_segment_sum # line: 13268
from tensorflow.python.ops.gen_math_ops import xlogy # line: 13517
from tensorflow.python.ops.gen_math_ops import zeta # line: 13603
from tensorflow.python.ops.gen_nn_ops import softsign # line: 12232
from tensorflow.python.ops.bincount_ops import bincount_v1 as bincount # line: 190
from tensorflow.python.ops.check_ops import is_non_decreasing # line: 1996
from tensorflow.python.ops.check_ops import is_strictly_increasing # line: 2037
from tensorflow.python.ops.confusion_matrix import confusion_matrix_v1 as confusion_matrix # line: 199
from tensorflow.python.ops.math_ops import abs # line: 361
from tensorflow.python.ops.math_ops import accumulate_n # line: 4025
from tensorflow.python.ops.math_ops import acos # line: 5842
from tensorflow.python.ops.math_ops import add # line: 3884
from tensorflow.python.ops.math_ops import add_n # line: 3965
from tensorflow.python.ops.math_ops import angle # line: 865
from tensorflow.python.ops.math_ops import argmax # line: 247
from tensorflow.python.ops.math_ops import argmin # line: 301
from tensorflow.python.ops.math_ops import ceil # line: 5672
from tensorflow.python.ops.math_ops import conj # line: 4398
from tensorflow.python.ops.math_ops import count_nonzero # line: 2318
from tensorflow.python.ops.math_ops import cumprod # line: 4288
from tensorflow.python.ops.math_ops import cumsum # line: 4216
from tensorflow.python.ops.math_ops import cumulative_logsumexp # line: 4342
from tensorflow.python.ops.math_ops import divide # line: 442
from tensorflow.python.ops.math_ops import div_no_nan as divide_no_nan # line: 1564
from tensorflow.python.ops.math_ops import equal # line: 1828
from tensorflow.python.ops.math_ops import erfcinv # line: 5642
from tensorflow.python.ops.math_ops import erfinv # line: 5607
from tensorflow.python.ops.math_ops import exp # line: 5739
from tensorflow.python.ops.math_ops import floor # line: 5873
from tensorflow.python.ops.math_ops import floordiv # line: 1672
from tensorflow.python.ops.math_ops import imag # line: 831
from tensorflow.python.ops.math_ops import log_sigmoid # line: 4171
from tensorflow.python.ops.math_ops import logical_xor # line: 1752
from tensorflow.python.ops.math_ops import multiply # line: 477
from tensorflow.python.ops.math_ops import multiply_no_nan # line: 1619
from tensorflow.python.ops.math_ops import ndtri # line: 5626
from tensorflow.python.ops.math_ops import not_equal # line: 1865
from tensorflow.python.ops.math_ops import polyval # line: 5429
from tensorflow.python.ops.math_ops import pow # line: 665
from tensorflow.python.ops.math_ops import real # line: 790
from tensorflow.python.ops.math_ops import reciprocal_no_nan # line: 5501
from tensorflow.python.ops.math_ops import reduce_all_v1 as reduce_all # line: 3074
from tensorflow.python.ops.math_ops import reduce_any_v1 as reduce_any # line: 3180
from tensorflow.python.ops.math_ops import reduce_euclidean_norm # line: 2273
from tensorflow.python.ops.math_ops import reduce_logsumexp_v1 as reduce_logsumexp # line: 3286
from tensorflow.python.ops.math_ops import reduce_max_v1 as reduce_max # line: 2949
from tensorflow.python.ops.math_ops import reduce_mean_v1 as reduce_mean # line: 2472
from tensorflow.python.ops.math_ops import reduce_min_v1 as reduce_min # line: 2821
from tensorflow.python.ops.math_ops import reduce_prod_v1 as reduce_prod # line: 2762
from tensorflow.python.ops.math_ops import reduce_std # line: 2662
from tensorflow.python.ops.math_ops import reduce_sum_v1 as reduce_sum # line: 2115
from tensorflow.python.ops.math_ops import reduce_variance # line: 2599
from tensorflow.python.ops.math_ops import round # line: 910
from tensorflow.python.ops.math_ops import rsqrt # line: 5817
from tensorflow.python.ops.math_ops import scalar_mul # line: 588
from tensorflow.python.ops.math_ops import sigmoid # line: 4118
from tensorflow.python.ops.math_ops import sign # line: 743
from tensorflow.python.ops.math_ops import sobol_sample # line: 5792
from tensorflow.python.ops.math_ops import softplus # line: 630
from tensorflow.python.ops.math_ops import sqrt # line: 5700
from tensorflow.python.ops.math_ops import subtract # line: 541
from tensorflow.python.ops.math_ops import truediv # line: 1477
from tensorflow.python.ops.math_ops import unsorted_segment_mean # line: 4526
from tensorflow.python.ops.math_ops import unsorted_segment_sqrt_n # line: 4581
from tensorflow.python.ops.math_ops import xdivy # line: 5535
from tensorflow.python.ops.math_ops import xlog1py # line: 5569
from tensorflow.python.ops.nn_impl import l2_normalize # line: 540
from tensorflow.python.ops.nn_impl import zero_fraction # line: 620
from tensorflow.python.ops.nn_ops import approx_max_k # line: 5887
from tensorflow.python.ops.nn_ops import approx_min_k # line: 5950
from tensorflow.python.ops.nn_ops import in_top_k # line: 6537
from tensorflow.python.ops.nn_ops import log_softmax # line: 3928
from tensorflow.python.ops.nn_ops import softmax # line: 3915
from tensorflow.python.ops.nn_ops import top_k # line: 5820
from tensorflow.python.ops.special_math_ops import bessel_i0 # line: 253
from tensorflow.python.ops.special_math_ops import bessel_i0e # line: 282
from tensorflow.python.ops.special_math_ops import bessel_i1 # line: 309
from tensorflow.python.ops.special_math_ops import bessel_i1e # line: 338
from tensorflow.python.ops.special_math_ops import lbeta # line: 45
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "math", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,31 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.math.special namespace
"""
import sys as _sys
from tensorflow.python.ops.special_math_ops import bessel_i0 # line: 253
from tensorflow.python.ops.special_math_ops import bessel_i0e # line: 282
from tensorflow.python.ops.special_math_ops import bessel_i1 # line: 309
from tensorflow.python.ops.special_math_ops import bessel_i1e # line: 338
from tensorflow.python.ops.special_math_ops import bessel_j0 # line: 477
from tensorflow.python.ops.special_math_ops import bessel_j1 # line: 504
from tensorflow.python.ops.special_math_ops import bessel_k0 # line: 365
from tensorflow.python.ops.special_math_ops import bessel_k0e # line: 394
from tensorflow.python.ops.special_math_ops import bessel_k1 # line: 421
from tensorflow.python.ops.special_math_ops import bessel_k1e # line: 450
from tensorflow.python.ops.special_math_ops import bessel_y0 # line: 531
from tensorflow.python.ops.special_math_ops import bessel_y1 # line: 558
from tensorflow.python.ops.special_math_ops import dawsn # line: 101
from tensorflow.python.ops.special_math_ops import expint # line: 132
from tensorflow.python.ops.special_math_ops import fresnel_cos # line: 162
from tensorflow.python.ops.special_math_ops import fresnel_sin # line: 193
from tensorflow.python.ops.special_math_ops import spence # line: 223
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "math.special", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,47 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.metrics namespace
"""
import sys as _sys
from tensorflow.python.ops.metrics_impl import accuracy # line: 481
from tensorflow.python.ops.metrics_impl import auc # line: 805
from tensorflow.python.ops.metrics_impl import average_precision_at_k # line: 3429
from tensorflow.python.ops.metrics_impl import false_negatives # line: 1701
from tensorflow.python.ops.metrics_impl import false_negatives_at_thresholds # line: 1753
from tensorflow.python.ops.metrics_impl import false_positives # line: 1809
from tensorflow.python.ops.metrics_impl import false_positives_at_thresholds # line: 1862
from tensorflow.python.ops.metrics_impl import mean # line: 315
from tensorflow.python.ops.metrics_impl import mean_absolute_error # line: 1042
from tensorflow.python.ops.metrics_impl import mean_cosine_distance # line: 1103
from tensorflow.python.ops.metrics_impl import mean_iou # line: 1282
from tensorflow.python.ops.metrics_impl import mean_per_class_accuracy # line: 1177
from tensorflow.python.ops.metrics_impl import mean_relative_error # line: 1385
from tensorflow.python.ops.metrics_impl import mean_squared_error # line: 1454
from tensorflow.python.ops.metrics_impl import mean_tensor # line: 1515
from tensorflow.python.ops.metrics_impl import percentage_below # line: 1600
from tensorflow.python.ops.metrics_impl import precision # line: 2136
from tensorflow.python.ops.metrics_impl import precision_at_k # line: 3720
from tensorflow.python.ops.metrics_impl import precision_at_thresholds # line: 2231
from tensorflow.python.ops.metrics_impl import precision_at_top_k # line: 3609
from tensorflow.python.ops.metrics_impl import recall # line: 2312
from tensorflow.python.ops.metrics_impl import recall_at_k # line: 2663
from tensorflow.python.ops.metrics_impl import recall_at_thresholds # line: 2840
from tensorflow.python.ops.metrics_impl import recall_at_top_k # line: 2756
from tensorflow.python.ops.metrics_impl import root_mean_squared_error # line: 2918
from tensorflow.python.ops.metrics_impl import sensitivity_at_specificity # line: 2989
from tensorflow.python.ops.metrics_impl import sparse_average_precision_at_k # line: 3409
from tensorflow.python.ops.metrics_impl import sparse_precision_at_k # line: 3698
from tensorflow.python.ops.metrics_impl import specificity_at_sensitivity # line: 3814
from tensorflow.python.ops.metrics_impl import true_negatives # line: 1918
from tensorflow.python.ops.metrics_impl import true_negatives_at_thresholds # line: 1971
from tensorflow.python.ops.metrics_impl import true_positives # line: 2027
from tensorflow.python.ops.metrics_impl import true_positives_at_thresholds # line: 2080
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "metrics", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,21 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.mixed_precision namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.mixed_precision import experimental
from tensorflow.python.training.experimental.loss_scale import DynamicLossScale # line: 300
from tensorflow.python.training.experimental.loss_scale import FixedLossScale # line: 203
from tensorflow.python.training.experimental.loss_scale import LossScale # line: 37
from tensorflow.python.training.experimental.loss_scale_optimizer import MixedPrecisionLossScaleOptimizer # line: 29
from tensorflow.python.training.experimental.mixed_precision import disable_mixed_precision_graph_rewrite_v1 as disable_mixed_precision_graph_rewrite # line: 218
from tensorflow.python.training.experimental.mixed_precision import enable_mixed_precision_graph_rewrite_v1 as enable_mixed_precision_graph_rewrite # line: 82
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "mixed_precision", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,17 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.mixed_precision.experimental namespace
"""
import sys as _sys
from tensorflow.python.training.experimental.loss_scale import DynamicLossScale # line: 300
from tensorflow.python.training.experimental.loss_scale import FixedLossScale # line: 203
from tensorflow.python.training.experimental.loss_scale import LossScale # line: 37
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "mixed_precision.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,15 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.mlir namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.mlir import experimental
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "mlir", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,21 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.mlir.experimental namespace
"""
import sys as _sys
from tensorflow.python.compiler.mlir.mlir import convert_function # line: 48
from tensorflow.python.compiler.mlir.mlir import convert_graph_def # line: 21
from tensorflow.python.compiler.mlir.mlir import convert_saved_model # line: 95
from tensorflow.python.compiler.mlir.mlir import convert_saved_model_v1 # line: 115
from tensorflow.python.compiler.mlir.mlir import run_pass_pipeline # line: 152
from tensorflow.python.compiler.mlir.mlir import tflite_to_tosa_bytecode # line: 181
from tensorflow.python.compiler.mlir.mlir import experimental_write_bytecode as write_bytecode # line: 170
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "mlir.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,19 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.nest namespace
"""
import sys as _sys
from tensorflow.python.util.nest import assert_same_structure # line: 298
from tensorflow.python.util.nest import flatten # line: 198
from tensorflow.python.util.nest import is_nested # line: 163
from tensorflow.python.util.nest import map_structure # line: 542
from tensorflow.python.util.nest import pack_sequence_as # line: 423
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "nest", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,127 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.nn namespace
"""
import sys as _sys
from tensorflow._api.v2.compat.v1.nn import experimental
from tensorflow._api.v2.compat.v1.nn import rnn_cell
from tensorflow.python.ops.gen_math_ops import tanh # line: 12519
from tensorflow.python.ops.gen_nn_ops import conv3d_backprop_filter_v2 as conv3d_backprop_filter # line: 2408
from tensorflow.python.ops.gen_nn_ops import conv3d_backprop_filter_v2 # line: 2408
from tensorflow.python.ops.gen_nn_ops import elu # line: 3783
from tensorflow.python.ops.gen_nn_ops import l2_loss # line: 5717
from tensorflow.python.ops.gen_nn_ops import lrn as local_response_normalization # line: 5806
from tensorflow.python.ops.gen_nn_ops import lrn # line: 5806
from tensorflow.python.ops.gen_nn_ops import relu # line: 11562
from tensorflow.python.ops.gen_nn_ops import selu # line: 11829
from tensorflow.python.ops.gen_nn_ops import softsign # line: 12232
from tensorflow.python.ops.array_ops import depth_to_space # line: 3812
from tensorflow.python.ops.array_ops import space_to_batch # line: 3760
from tensorflow.python.ops.array_ops import space_to_depth # line: 3793
from tensorflow.python.ops.candidate_sampling_ops import all_candidate_sampler # line: 430
from tensorflow.python.ops.candidate_sampling_ops import compute_accidental_hits # line: 466
from tensorflow.python.ops.candidate_sampling_ops import fixed_unigram_candidate_sampler # line: 306
from tensorflow.python.ops.candidate_sampling_ops import learned_unigram_candidate_sampler # line: 212
from tensorflow.python.ops.candidate_sampling_ops import log_uniform_candidate_sampler # line: 116
from tensorflow.python.ops.candidate_sampling_ops import uniform_candidate_sampler # line: 27
from tensorflow.python.ops.ctc_ops import collapse_repeated # line: 1172
from tensorflow.python.ops.ctc_ops import ctc_beam_search_decoder # line: 380
from tensorflow.python.ops.ctc_ops import ctc_beam_search_decoder_v2 # line: 446
from tensorflow.python.ops.ctc_ops import ctc_greedy_decoder # line: 297
from tensorflow.python.ops.ctc_ops import ctc_loss # line: 71
from tensorflow.python.ops.ctc_ops import ctc_loss_v2 # line: 787
from tensorflow.python.ops.ctc_ops import ctc_unique_labels # line: 1270
from tensorflow.python.ops.embedding_ops import embedding_lookup # line: 267
from tensorflow.python.ops.embedding_ops import embedding_lookup_sparse # line: 441
from tensorflow.python.ops.embedding_ops import safe_embedding_lookup_sparse # line: 854
from tensorflow.python.ops.math_ops import sigmoid # line: 4118
from tensorflow.python.ops.math_ops import softplus # line: 630
from tensorflow.python.ops.nn_impl import batch_norm_with_global_normalization # line: 1594
from tensorflow.python.ops.nn_impl import batch_normalization # line: 1420
from tensorflow.python.ops.nn_impl import depthwise_conv2d # line: 663
from tensorflow.python.ops.nn_impl import fused_batch_norm # line: 1491
from tensorflow.python.ops.nn_impl import l2_normalize # line: 540
from tensorflow.python.ops.nn_impl import log_poisson_loss # line: 43
from tensorflow.python.ops.nn_impl import moments # line: 1215
from tensorflow.python.ops.nn_impl import nce_loss # line: 2005
from tensorflow.python.ops.nn_impl import normalize_moments # line: 1182
from tensorflow.python.ops.nn_impl import relu_layer # line: 406
from tensorflow.python.ops.nn_impl import sampled_softmax_loss # line: 2209
from tensorflow.python.ops.nn_impl import separable_conv2d # line: 893
from tensorflow.python.ops.nn_impl import sigmoid_cross_entropy_with_logits # line: 109
from tensorflow.python.ops.nn_impl import swish as silu # line: 430
from tensorflow.python.ops.nn_impl import sufficient_statistics # line: 1077
from tensorflow.python.ops.nn_impl import swish # line: 430
from tensorflow.python.ops.nn_impl import weighted_cross_entropy_with_logits # line: 341
from tensorflow.python.ops.nn_impl import weighted_moments # line: 1318
from tensorflow.python.ops.nn_impl import zero_fraction # line: 620
from tensorflow.python.ops.nn_impl_distribute import compute_average_loss # line: 70
from tensorflow.python.ops.nn_impl_distribute import scale_regularization_loss # line: 27
from tensorflow.python.ops.nn_ops import approx_max_k # line: 5887
from tensorflow.python.ops.nn_ops import approx_min_k # line: 5950
from tensorflow.python.ops.nn_ops import atrous_conv2d # line: 1790
from tensorflow.python.ops.nn_ops import atrous_conv2d_transpose # line: 2814
from tensorflow.python.ops.nn_ops import avg_pool # line: 4535
from tensorflow.python.ops.nn_ops import avg_pool1d # line: 4621
from tensorflow.python.ops.nn_ops import avg_pool as avg_pool2d # line: 4535
from tensorflow.python.ops.nn_ops import avg_pool3d # line: 4668
from tensorflow.python.ops.nn_ops import avg_pool_v2 # line: 4468
from tensorflow.python.ops.nn_ops import bias_add # line: 3516
from tensorflow.python.ops.nn_ops import conv1d # line: 1982
from tensorflow.python.ops.nn_ops import conv1d_transpose # line: 2169
from tensorflow.python.ops.nn_ops import conv2d # line: 2367
from tensorflow.python.ops.nn_ops import conv2d_backprop_filter # line: 2489
from tensorflow.python.ops.nn_ops import conv2d_backprop_input # line: 2550
from tensorflow.python.ops.nn_ops import conv2d_transpose # line: 2615
from tensorflow.python.ops.nn_ops import conv3d_v1 as conv3d # line: 3254
from tensorflow.python.ops.nn_ops import conv3d_transpose # line: 3275
from tensorflow.python.ops.nn_ops import conv_transpose # line: 3428
from tensorflow.python.ops.nn_ops import convolution # line: 1033
from tensorflow.python.ops.nn_ops import crelu # line: 3590
from tensorflow.python.ops.nn_ops import depthwise_conv2d_native_backprop_filter as depthwise_conv2d_backprop_filter # line: 3126
from tensorflow.python.ops.nn_ops import depthwise_conv2d_native_backprop_input as depthwise_conv2d_backprop_input # line: 3054
from tensorflow.python.ops.nn_ops import depthwise_conv2d_native # line: 2979
from tensorflow.python.ops.nn_ops import depthwise_conv2d_native_backprop_filter # line: 3126
from tensorflow.python.ops.nn_ops import depthwise_conv2d_native_backprop_input # line: 3054
from tensorflow.python.ops.nn_ops import dilation2d_v1 as dilation2d # line: 553
from tensorflow.python.ops.nn_ops import dropout # line: 5375
from tensorflow.python.ops.nn_ops import erosion2d # line: 6405
from tensorflow.python.ops.nn_ops import fractional_avg_pool # line: 6260
from tensorflow.python.ops.nn_ops import fractional_max_pool # line: 6047
from tensorflow.python.ops.nn_ops import in_top_k # line: 6537
from tensorflow.python.ops.nn_ops import leaky_relu # line: 3667
from tensorflow.python.ops.nn_ops import log_softmax # line: 3928
from tensorflow.python.ops.nn_ops import max_pool # line: 4854
from tensorflow.python.ops.nn_ops import max_pool1d # line: 4916
from tensorflow.python.ops.nn_ops import max_pool2d # line: 4976
from tensorflow.python.ops.nn_ops import max_pool3d # line: 5089
from tensorflow.python.ops.nn_ops import max_pool_v2 # line: 4710
from tensorflow.python.ops.nn_ops import max_pool_with_argmax_v1 as max_pool_with_argmax # line: 5206
from tensorflow.python.ops.nn_ops import pool # line: 1508
from tensorflow.python.ops.nn_ops import quantized_avg_pool # line: 6608
from tensorflow.python.ops.nn_ops import quantized_conv2d # line: 6611
from tensorflow.python.ops.nn_ops import quantized_max_pool # line: 6617
from tensorflow.python.ops.nn_ops import quantized_relu_x # line: 6614
from tensorflow.python.ops.nn_ops import relu6 # line: 3630
from tensorflow.python.ops.nn_ops import softmax # line: 3915
from tensorflow.python.ops.nn_ops import softmax_cross_entropy_with_logits # line: 4189
from tensorflow.python.ops.nn_ops import softmax_cross_entropy_with_logits_v2_helper as softmax_cross_entropy_with_logits_v2 # line: 4057
from tensorflow.python.ops.nn_ops import sparse_softmax_cross_entropy_with_logits # line: 4284
from tensorflow.python.ops.nn_ops import top_k # line: 5820
from tensorflow.python.ops.nn_ops import with_space_to_batch # line: 572
from tensorflow.python.ops.nn_ops import xw_plus_b # line: 5302
from tensorflow.python.ops.rnn import bidirectional_dynamic_rnn # line: 348
from tensorflow.python.ops.rnn import dynamic_rnn # line: 506
from tensorflow.python.ops.rnn import raw_rnn # line: 986
from tensorflow.python.ops.rnn import static_bidirectional_rnn # line: 1592
from tensorflow.python.ops.rnn import static_rnn # line: 1314
from tensorflow.python.ops.rnn import static_state_saving_rnn # line: 1494
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "nn", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,16 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.nn.experimental namespace
"""
import sys as _sys
from tensorflow.python.ops.nn_ops import general_dropout # line: 5669
from tensorflow.python.ops.nn_ops import stateless_dropout # line: 5525
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "nn.experimental", public_apis=None, deprecation=False,
has_lite=False)
@@ -0,0 +1,24 @@
# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.nn.rnn_cell namespace
"""
import sys as _sys
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import BasicLSTMCell # line: 654
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import BasicRNNCell # line: 399
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import DeviceWrapper # line: 1213
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import DropoutWrapper # line: 1191
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import GRUCell # line: 495
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import LSTMCell # line: 824
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import LSTMStateTuple # line: 634
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import MultiRNNCell # line: 1223
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import RNNCell # line: 184
from tensorflow.python.keras.layers.legacy_rnn.rnn_cell_impl import ResidualWrapper # line: 1202
from tensorflow.python.util import module_wrapper as _module_wrapper
if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
_sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
_sys.modules[__name__], "nn.rnn_cell", public_apis=None, deprecation=False,
has_lite=False)

Some files were not shown because too many files have changed in this diff Show More