<button value="stable" default="">See Stable</button> <button value="nightly">See Nightly</button>

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/_api/v2/compat/v1/__init__.py) |

Bring in all of the public TensorFlow interface into this module.

## Modules

[`app`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/app.md.txt) module: Public API for tf._api.v2.app namespace

[`audio`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/audio.md.txt) module: Public API for tf._api.v2.audio namespace

[`autograph`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/autograph.md.txt) module: Public API for tf._api.v2.autograph namespace

[`bitwise`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/bitwise.md.txt) module: Public API for tf._api.v2.bitwise namespace

[`compat`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/compat.md.txt) module: Public API for tf._api.v2.compat namespace

[`config`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/config.md.txt) module: Public API for tf._api.v2.config namespace

[`data`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/data.md.txt) module: Public API for tf._api.v2.data namespace

[`debugging`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/debugging.md.txt) module: Public API for tf._api.v2.debugging namespace

[`distribute`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/distribute.md.txt) module: Public API for tf._api.v2.distribute namespace

[`distributions`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/distributions.md.txt) module: Public API for tf._api.v2.distributions namespace

[`dtypes`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/dtypes.md.txt) module: Public API for tf._api.v2.dtypes namespace

[`errors`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/errors.md.txt) module: Public API for tf._api.v2.errors namespace

[`experimental`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/experimental.md.txt) module: Public API for tf._api.v2.experimental namespace

[`feature_column`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/feature_column.md.txt) module: Public API for tf._api.v2.feature_column namespace

[`flags`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags.md.txt) module: Import router for absl.flags. See <https://github.com/abseil/abseil-py>

[`gfile`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/gfile.md.txt) module: Public API for tf._api.v2.gfile namespace

[`graph_util`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/graph_util.md.txt) module: Public API for tf._api.v2.graph_util namespace

[`image`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/image.md.txt) module: Public API for tf._api.v2.image namespace

[`initializers`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/initializers.md.txt) module: Public API for tf._api.v2.initializers namespace

[`io`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/io.md.txt) module: Public API for tf._api.v2.io namespace

[`keras`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/keras.md.txt) module: DO NOT EDIT.

[`layers`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/layers.md.txt) module

[`linalg`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/linalg.md.txt) module: Public API for tf._api.v2.linalg namespace

[`lite`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite.md.txt) module: Public API for tf._api.v2.lite namespace

[`logging`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/logging.md.txt) module: Public API for tf._api.v2.logging namespace

[`lookup`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lookup.md.txt) module: Public API for tf._api.v2.lookup namespace

[`losses`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/losses.md.txt) module: Public API for tf._api.v2.losses namespace

[`manip`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/manip.md.txt) module: Public API for tf._api.v2.manip namespace

[`math`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/math.md.txt) module: Public API for tf._api.v2.math namespace

[`metrics`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/metrics.md.txt) module: Public API for tf._api.v2.metrics namespace

[`mixed_precision`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/mixed_precision.md.txt) module: Public API for tf._api.v2.mixed_precision namespace

[`mlir`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/mlir.md.txt) module: Public API for tf._api.v2.mlir namespace

[`nest`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/nest.md.txt) module: Public API for tf._api.v2.nest namespace

[`nn`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/nn.md.txt) module: Public API for tf._api.v2.nn namespace

[`profiler`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/profiler.md.txt) module: Public API for tf._api.v2.profiler namespace

[`python_io`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/python_io.md.txt) module: Public API for tf._api.v2.python_io namespace

[`quantization`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/quantization.md.txt) module: Public API for tf._api.v2.quantization namespace

[`queue`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/queue.md.txt) module: Public API for tf._api.v2.queue namespace

[`ragged`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ragged.md.txt) module: Public API for tf._api.v2.ragged namespace

[`random`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/random.md.txt) module: Public API for tf._api.v2.random namespace

[`raw_ops`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/raw_ops.md.txt) module: Public API for tf._api.v2.raw_ops namespace

[`resource_loader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/resource_loader.md.txt) module: Public API for tf._api.v2.resource_loader namespace

[`saved_model`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/saved_model.md.txt) module: Public API for tf._api.v2.saved_model namespace

[`sets`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sets.md.txt) module: Public API for tf._api.v2.sets namespace

[`signal`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/signal.md.txt) module: Public API for tf._api.v2.signal namespace

[`sparse`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse.md.txt) module: Public API for tf._api.v2.sparse namespace

[`spectral`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/spectral.md.txt) module: Public API for tf._api.v2.spectral namespace

[`strings`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/strings.md.txt) module: Public API for tf._api.v2.strings namespace

[`summary`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/summary.md.txt) module: Public API for tf._api.v2.summary namespace

[`sysconfig`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sysconfig.md.txt) module: Public API for tf._api.v2.sysconfig namespace

[`test`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/test.md.txt) module: Public API for tf._api.v2.test namespace

[`tpu`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/tpu.md.txt) module: Public API for tf._api.v2.tpu namespace

[`train`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/train.md.txt) module: Public API for tf._api.v2.train namespace

[`types`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/types.md.txt) module: Public API for tf._api.v2.types namespace

[`user_ops`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/user_ops.md.txt) module: Public API for tf._api.v2.user_ops namespace

[`version`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/version.md.txt) module: Public API for tf._api.v2.version namespace

[`xla`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/xla.md.txt) module: Public API for tf._api.v2.xla namespace

## Classes

[`class AggregationMethod`](https://www.tensorflow.org/api_docs/python/tf/AggregationMethod.md.txt): A class listing aggregation methods used to combine gradients.

[`class AttrValue`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/AttrValue.md.txt): A ProtocolMessage

[`class ConditionalAccumulator`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ConditionalAccumulator.md.txt): A conditional accumulator for aggregating gradients.

[`class ConditionalAccumulatorBase`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ConditionalAccumulatorBase.md.txt): A conditional accumulator for aggregating gradients.

[`class ConfigProto`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ConfigProto.md.txt): A ProtocolMessage

[`class CriticalSection`](https://www.tensorflow.org/api_docs/python/tf/CriticalSection.md.txt): Critical section.

[`class DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt): Represents the type of the elements in a `Tensor`.

[`class DeviceSpec`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/DeviceSpec.md.txt): Represents a (possibly partial) specification for a TensorFlow device.

[`class Dimension`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Dimension.md.txt): Represents the value of one dimension in a TensorShape.

[`class Event`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Event.md.txt): A ProtocolMessage

[`class FIFOQueue`](https://www.tensorflow.org/api_docs/python/tf/queue/FIFOQueue.md.txt): A queue implementation that dequeues elements in first-in first-out order.

[`class FixedLenFeature`](https://www.tensorflow.org/api_docs/python/tf/io/FixedLenFeature.md.txt): Configuration for parsing a fixed-length input feature.

[`class FixedLenSequenceFeature`](https://www.tensorflow.org/api_docs/python/tf/io/FixedLenSequenceFeature.md.txt): Configuration for parsing a variable-length input feature into a `Tensor`.

[`class FixedLengthRecordReader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/FixedLengthRecordReader.md.txt): A Reader that outputs fixed-length records from a file.

[`class GPUOptions`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/GPUOptions.md.txt): A ProtocolMessage

[`class GradientTape`](https://www.tensorflow.org/api_docs/python/tf/GradientTape.md.txt): Record operations for automatic differentiation.

[`class Graph`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt): A TensorFlow computation, represented as a dataflow graph.

[`class GraphDef`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/GraphDef.md.txt): A protobuf containing the graph of operations.

[`class GraphKeys`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/GraphKeys.md.txt): Standard names to use for graph collections.

[`class GraphOptions`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/GraphOptions.md.txt): A ProtocolMessage

[`class HistogramProto`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/HistogramProto.md.txt): A ProtocolMessage

[`class IdentityReader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/IdentityReader.md.txt): A Reader that outputs the queued work as both the key and value.

[`class IndexedSlices`](https://www.tensorflow.org/api_docs/python/tf/IndexedSlices.md.txt): A sparse representation of a set of tensor slices at given indices.

[`class IndexedSlicesSpec`](https://www.tensorflow.org/api_docs/python/tf/IndexedSlicesSpec.md.txt): Type specification for a [`tf.IndexedSlices`](https://www.tensorflow.org/api_docs/python/tf/IndexedSlices.md.txt).

[`class InteractiveSession`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/InteractiveSession.md.txt): A TensorFlow `Session` for use in interactive contexts, such as a shell.

[`class LMDBReader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/LMDBReader.md.txt): A Reader that outputs the records from a LMDB file.

[`class LogMessage`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/LogMessage.md.txt): A ProtocolMessage

[`class MetaGraphDef`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/MetaGraphDef.md.txt): A ProtocolMessage

[`class Module`](https://www.tensorflow.org/api_docs/python/tf/Module.md.txt): Base neural network module class.

[`class NameAttrList`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/NameAttrList.md.txt): A ProtocolMessage

[`class NodeDef`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/NodeDef.md.txt): A ProtocolMessage

[`class NoneTensorSpec`](https://www.tensorflow.org/api_docs/python/tf/NoneTensorSpec.md.txt): Type specification for `None` value.

[`class OpError`](https://www.tensorflow.org/api_docs/python/tf/errors/OpError.md.txt): The base class for TensorFlow exceptions.

[`class Operation`](https://www.tensorflow.org/api_docs/python/tf/Operation.md.txt): Represents a graph node that performs computation on tensors.

[`class OptimizerOptions`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/OptimizerOptions.md.txt): A ProtocolMessage

[`class OptionalSpec`](https://www.tensorflow.org/api_docs/python/tf/OptionalSpec.md.txt): Type specification for [`tf.experimental.Optional`](https://www.tensorflow.org/api_docs/python/tf/experimental/Optional.md.txt).

[`class PaddingFIFOQueue`](https://www.tensorflow.org/api_docs/python/tf/queue/PaddingFIFOQueue.md.txt): A FIFOQueue that supports batching variable-sized tensors by padding.

[`class PriorityQueue`](https://www.tensorflow.org/api_docs/python/tf/queue/PriorityQueue.md.txt): A queue implementation that dequeues elements in prioritized order.

[`class QueueBase`](https://www.tensorflow.org/api_docs/python/tf/queue/QueueBase.md.txt): Base class for queue implementations.

[`class RaggedTensor`](https://www.tensorflow.org/api_docs/python/tf/RaggedTensor.md.txt): Represents a ragged tensor.

[`class RaggedTensorSpec`](https://www.tensorflow.org/api_docs/python/tf/RaggedTensorSpec.md.txt): Type specification for a [`tf.RaggedTensor`](https://www.tensorflow.org/api_docs/python/tf/RaggedTensor.md.txt).

[`class RandomShuffleQueue`](https://www.tensorflow.org/api_docs/python/tf/queue/RandomShuffleQueue.md.txt): A queue implementation that dequeues elements in a random order.

[`class ReaderBase`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ReaderBase.md.txt): Base class for different Reader types, that produce a record every step.

[`class RegisterGradient`](https://www.tensorflow.org/api_docs/python/tf/RegisterGradient.md.txt): A decorator for registering the gradient function for an op type.

[`class RunMetadata`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/RunMetadata.md.txt): A ProtocolMessage

[`class RunOptions`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/RunOptions.md.txt): A ProtocolMessage

[`class Session`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Session.md.txt): A class for running TensorFlow operations.

[`class SessionLog`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/SessionLog.md.txt): A ProtocolMessage

[`class SparseConditionalAccumulator`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/SparseConditionalAccumulator.md.txt): A conditional accumulator for aggregating sparse gradients.

[`class SparseFeature`](https://www.tensorflow.org/api_docs/python/tf/io/SparseFeature.md.txt): Configuration for parsing a sparse input feature from an `Example`.

[`class SparseTensor`](https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.md.txt): Represents a sparse tensor.

[`class SparseTensorSpec`](https://www.tensorflow.org/api_docs/python/tf/SparseTensorSpec.md.txt): Type specification for a [`tf.sparse.SparseTensor`](https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.md.txt).

[`class SparseTensorValue`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/SparseTensorValue.md.txt): SparseTensorValue(indices, values, dense_shape)

[`class Summary`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Summary.md.txt): A ProtocolMessage

[`class SummaryMetadata`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/SummaryMetadata.md.txt): A ProtocolMessage

[`class TFRecordReader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/TFRecordReader.md.txt): A Reader that outputs the records from a TFRecords file.

[`class Tensor`](https://www.tensorflow.org/api_docs/python/tf/Tensor.md.txt): A [`tf.Tensor`](https://www.tensorflow.org/api_docs/python/tf/Tensor.md.txt) represents a multidimensional array of elements.

[`class TensorArray`](https://www.tensorflow.org/api_docs/python/tf/TensorArray.md.txt): Class wrapping dynamic-sized, per-time-step, Tensor arrays.

[`class TensorArraySpec`](https://www.tensorflow.org/api_docs/python/tf/TensorArraySpec.md.txt): Type specification for a [`tf.TensorArray`](https://www.tensorflow.org/api_docs/python/tf/TensorArray.md.txt).

[`class TensorInfo`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/TensorInfo.md.txt): A ProtocolMessage

[`class TensorShape`](https://www.tensorflow.org/api_docs/python/tf/TensorShape.md.txt): Represents the shape of a `Tensor`.

[`class TensorSpec`](https://www.tensorflow.org/api_docs/python/tf/TensorSpec.md.txt): Describes the type of a tf.Tensor.

[`class TextLineReader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/TextLineReader.md.txt): A Reader that outputs the lines of a file delimited by newlines.

[`class TypeSpec`](https://www.tensorflow.org/api_docs/python/tf/TypeSpec.md.txt): Specifies a TensorFlow value type.

[`class UnconnectedGradients`](https://www.tensorflow.org/api_docs/python/tf/UnconnectedGradients.md.txt): Controls how gradient computation behaves when y does not depend on x.

[`class VarLenFeature`](https://www.tensorflow.org/api_docs/python/tf/io/VarLenFeature.md.txt): Configuration for parsing a variable-length input feature.

[`class Variable`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Variable.md.txt): See the [Variables Guide](https://tensorflow.org/guide/variables).

[`class VariableAggregation`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/VariableAggregation.md.txt): Indicates how a distributed variable will be aggregated.

[`class VariableScope`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/VariableScope.md.txt): Variable scope object to carry defaults to provide to `get_variable`.

[`class VariableSynchronization`](https://www.tensorflow.org/api_docs/python/tf/VariableSynchronization.md.txt): Indicates when a distributed variable will be synced.

[`class WholeFileReader`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/WholeFileReader.md.txt): A Reader that outputs the entire contents of a file as a value.

[`class constant_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/constant_initializer.md.txt): Initializer that generates tensors with constant values.

[`class glorot_normal_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/glorot_normal_initializer.md.txt): The Glorot normal initializer, also called Xavier normal initializer.

[`class glorot_uniform_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/glorot_uniform_initializer.md.txt): The Glorot uniform initializer, also called Xavier uniform initializer.

[`class name_scope`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/name_scope.md.txt): A context manager for use when defining a Python op.

[`class ones_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ones_initializer.md.txt): Initializer that generates tensors initialized to 1.

[`class orthogonal_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/orthogonal_initializer.md.txt): Initializer that generates an orthogonal matrix.

[`class random_normal_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/random_normal_initializer.md.txt): Initializer that generates tensors with a normal distribution.

[`class random_uniform_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/random_uniform_initializer.md.txt): Initializer that generates tensors with a uniform distribution.

[`class truncated_normal_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/truncated_normal_initializer.md.txt): Initializer that generates a truncated normal distribution.

[`class uniform_unit_scaling_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/uniform_unit_scaling_initializer.md.txt): Initializer that generates tensors without scaling variance.

[`class variable_scope`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variable_scope.md.txt): A context manager for defining ops that creates variables (layers).

[`class variance_scaling_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variance_scaling_initializer.md.txt): Initializer capable of adapting its scale to the shape of weights tensors.

[`class zeros_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/zeros_initializer.md.txt): Initializer that generates tensors initialized to 0.

## Functions

[`Assert(...)`](https://www.tensorflow.org/api_docs/python/tf/debugging/Assert.md.txt): Asserts that the given condition is true.

[`NoGradient(...)`](https://www.tensorflow.org/api_docs/python/tf/no_gradient.md.txt): Specifies that ops of type `op_type` is not differentiable.

[`NotDifferentiable(...)`](https://www.tensorflow.org/api_docs/python/tf/no_gradient.md.txt): Specifies that ops of type `op_type` is not differentiable.

[`Print(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Print.md.txt): Prints a list of tensors. (deprecated)

[`abs(...)`](https://www.tensorflow.org/api_docs/python/tf/math/abs.md.txt): Computes the absolute value of a tensor.

[`accumulate_n(...)`](https://www.tensorflow.org/api_docs/python/tf/math/accumulate_n.md.txt): Returns the element-wise sum of a list of tensors. (deprecated)

[`acos(...)`](https://www.tensorflow.org/api_docs/python/tf/math/acos.md.txt): Computes acos of x element-wise.

[`acosh(...)`](https://www.tensorflow.org/api_docs/python/tf/math/acosh.md.txt): Computes inverse hyperbolic cosine of x element-wise.

[`add(...)`](https://www.tensorflow.org/api_docs/python/tf/math/add.md.txt): Returns x + y element-wise.

[`add_check_numerics_ops(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/add_check_numerics_ops.md.txt): Connect a [`tf.debugging.check_numerics`](https://www.tensorflow.org/api_docs/python/tf/debugging/check_numerics.md.txt) to every floating point tensor.

[`add_n(...)`](https://www.tensorflow.org/api_docs/python/tf/math/add_n.md.txt): Returns the element-wise sum of a list of tensors.

[`add_to_collection(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/add_to_collection.md.txt): Wrapper for [`Graph.add_to_collection()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#add_to_collection) using the default graph.

[`add_to_collections(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/add_to_collections.md.txt): Wrapper for [`Graph.add_to_collections()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#add_to_collections) using the default graph.

[`all_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/all_variables.md.txt): Use [`tf.compat.v1.global_variables`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/global_variables.md.txt) instead. (deprecated)

[`angle(...)`](https://www.tensorflow.org/api_docs/python/tf/math/angle.md.txt): Returns the element-wise argument of a complex (or real) tensor.

[`approx_top_k(...)`](https://www.tensorflow.org/api_docs/python/tf/approx_top_k.md.txt): Returns min/max k values and their indices of the input operand in an approximate manner.

[`arg_max(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/arg_max.md.txt): Returns the index with the largest value across dimensions of a tensor. (deprecated)

[`arg_min(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/arg_min.md.txt): Returns the index with the smallest value across dimensions of a tensor. (deprecated)

[`argmax(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/argmax.md.txt): Returns the index with the largest value across axes of a tensor. (deprecated arguments)

[`argmin(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/argmin.md.txt): Returns the index with the smallest value across axes of a tensor. (deprecated arguments)

[`argsort(...)`](https://www.tensorflow.org/api_docs/python/tf/argsort.md.txt): Returns the indices of a tensor that give its sorted order along an axis.

[`as_dtype(...)`](https://www.tensorflow.org/api_docs/python/tf/dtypes/as_dtype.md.txt): Converts the given `type_value` to a [`tf.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt).

[`as_string(...)`](https://www.tensorflow.org/api_docs/python/tf/strings/as_string.md.txt): Converts each entry in the given tensor to strings.

[`asin(...)`](https://www.tensorflow.org/api_docs/python/tf/math/asin.md.txt): Computes the trignometric inverse sine of x element-wise.

[`asinh(...)`](https://www.tensorflow.org/api_docs/python/tf/math/asinh.md.txt): Computes inverse hyperbolic sine of x element-wise.

[`assert_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_equal.md.txt): Assert the condition `x == y` holds element-wise.

[`assert_greater(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_greater.md.txt): Assert the condition `x > y` holds element-wise.

[`assert_greater_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_greater_equal.md.txt): Assert the condition `x >= y` holds element-wise.

[`assert_integer(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_integer.md.txt): Assert that `x` is of integer dtype.

[`assert_less(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_less.md.txt): Assert the condition `x < y` holds element-wise.

[`assert_less_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_less_equal.md.txt): Assert the condition `x <= y` holds element-wise.

[`assert_near(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_near.md.txt): Assert the condition `x` and `y` are close element-wise.

[`assert_negative(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_negative.md.txt): Assert the condition `x < 0` holds element-wise.

[`assert_non_negative(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_non_negative.md.txt): Assert the condition `x >= 0` holds element-wise.

[`assert_non_positive(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_non_positive.md.txt): Assert the condition `x <= 0` holds element-wise.

[`assert_none_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_none_equal.md.txt): Assert the condition `x != y` holds element-wise.

[`assert_positive(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_positive.md.txt): Assert the condition `x > 0` holds element-wise.

[`assert_proper_iterable(...)`](https://www.tensorflow.org/api_docs/python/tf/debugging/assert_proper_iterable.md.txt): Static assert that values is a "proper" iterable.

[`assert_rank(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_rank.md.txt): Assert `x` has rank equal to `rank`.

[`assert_rank_at_least(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_rank_at_least.md.txt): Assert `x` has rank equal to `rank` or higher.

[`assert_rank_in(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_rank_in.md.txt): Assert `x` has rank in `ranks`.

[`assert_same_float_dtype(...)`](https://www.tensorflow.org/api_docs/python/tf/debugging/assert_same_float_dtype.md.txt): Validate and return float type based on `tensors` and `dtype`.

[`assert_scalar(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_scalar.md.txt): Asserts that the given `tensor` is a scalar (i.e. zero-dimensional).

[`assert_type(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_type.md.txt): Statically asserts that the given `Tensor` is of the specified type.

[`assert_variables_initialized(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assert_variables_initialized.md.txt): Returns an Op to check if variables are initialized.

[`assign(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assign.md.txt): Update `ref` by assigning `value` to it.

[`assign_add(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assign_add.md.txt): Update `ref` by adding `value` to it.

[`assign_sub(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/assign_sub.md.txt): Update `ref` by subtracting `value` from it.

[`atan(...)`](https://www.tensorflow.org/api_docs/python/tf/math/atan.md.txt): Computes the trignometric inverse tangent of x element-wise.

[`atan2(...)`](https://www.tensorflow.org/api_docs/python/tf/math/atan2.md.txt): Computes arctangent of `y/x` element-wise, respecting signs of the arguments.

[`atanh(...)`](https://www.tensorflow.org/api_docs/python/tf/math/atanh.md.txt): Computes inverse hyperbolic tangent of x element-wise.

[`batch_gather(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/batch_gather.md.txt): Gather slices from params according to indices with leading batch dims. (deprecated)

[`batch_scatter_update(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/batch_scatter_update.md.txt): Generalization of [`tf.compat.v1.scatter_update`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_update.md.txt) to axis different than 0. (deprecated)

[`batch_to_space(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/batch_to_space.md.txt): BatchToSpace for 4-D tensors of type T.

[`batch_to_space_nd(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/batch_to_space_nd.md.txt): BatchToSpace for N-D tensors of type T.

[`betainc(...)`](https://www.tensorflow.org/api_docs/python/tf/math/betainc.md.txt): Compute the regularized incomplete beta integral \\(I_x(a, b)\\).

[`bincount(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/bincount.md.txt): Counts the number of occurrences of each value in an integer array.

[`bitcast(...)`](https://www.tensorflow.org/api_docs/python/tf/bitcast.md.txt): Bitcasts a tensor from one type to another without copying data.

[`boolean_mask(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/boolean_mask.md.txt): Apply boolean mask to tensor.

[`broadcast_dynamic_shape(...)`](https://www.tensorflow.org/api_docs/python/tf/broadcast_dynamic_shape.md.txt): Computes the shape of a broadcast given symbolic shapes.

[`broadcast_static_shape(...)`](https://www.tensorflow.org/api_docs/python/tf/broadcast_static_shape.md.txt): Computes the shape of a broadcast given known shapes.

[`broadcast_to(...)`](https://www.tensorflow.org/api_docs/python/tf/broadcast_to.md.txt): Broadcast an array for a compatible shape.

[`case(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/case.md.txt): Create a case operation.

[`cast(...)`](https://www.tensorflow.org/api_docs/python/tf/cast.md.txt): Casts a tensor to a new type.

[`ceil(...)`](https://www.tensorflow.org/api_docs/python/tf/math/ceil.md.txt): Return the ceiling of the input, element-wise.

[`check_numerics(...)`](https://www.tensorflow.org/api_docs/python/tf/debugging/check_numerics.md.txt): Checks a tensor for NaN and Inf values.

[`check_pinned(...)`](https://www.tensorflow.org/api_docs/python/tf/check_pinned.md.txt): Checks whether a tensor is located in host memory pinned for GPU.

[`cholesky(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/cholesky.md.txt): Computes the Cholesky decomposition of one or more square matrices.

[`cholesky_solve(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/cholesky_solve.md.txt): Solves systems of linear eqns `A X = RHS`, given Cholesky factorizations.

[`clip_by_average_norm(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/clip_by_average_norm.md.txt): Clips tensor values to a maximum average L2-norm. (deprecated)

[`clip_by_global_norm(...)`](https://www.tensorflow.org/api_docs/python/tf/clip_by_global_norm.md.txt): Clips values of multiple tensors by the ratio of the sum of their norms.

[`clip_by_norm(...)`](https://www.tensorflow.org/api_docs/python/tf/clip_by_norm.md.txt): Clips tensor values to a maximum L2-norm.

[`clip_by_value(...)`](https://www.tensorflow.org/api_docs/python/tf/clip_by_value.md.txt): Clips tensor values to a specified min and max.

[`colocate_with(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/colocate_with.md.txt): DEPRECATED FUNCTION

[`complex(...)`](https://www.tensorflow.org/api_docs/python/tf/dtypes/complex.md.txt): Converts two real numbers to a complex number.

[`concat(...)`](https://www.tensorflow.org/api_docs/python/tf/concat.md.txt): Concatenates tensors along one dimension.

[`cond(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/cond.md.txt): Return `true_fn()` if the predicate `pred` is true else `false_fn()`. (deprecated arguments)

[`confusion_matrix(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/confusion_matrix.md.txt): Computes the confusion matrix from predictions and labels.

[`conj(...)`](https://www.tensorflow.org/api_docs/python/tf/math/conj.md.txt): Returns the complex conjugate of a complex number.

[`constant(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/constant.md.txt): Creates a constant tensor.

[`container(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/container.md.txt): Wrapper for [`Graph.container()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#container) using the default graph.

[`control_dependencies(...)`](https://www.tensorflow.org/api_docs/python/tf/control_dependencies.md.txt): Wrapper for [`Graph.control_dependencies()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#control_dependencies) using the default graph.

[`control_flow_v2_enabled(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/control_flow_v2_enabled.md.txt): Returns `True` if v2 control flow is enabled.

[`conv(...)`](https://www.tensorflow.org/api_docs/python/tf/conv.md.txt): Computes a N-D convolution given (N+1+batch_dims)-D `input` and (N+2)-D `filter` tensors.

[`conv2d_backprop_filter_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/conv2d_backprop_filter_v2.md.txt): Computes the gradients of convolution with respect to the filter.

[`conv2d_backprop_input_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/conv2d_backprop_input_v2.md.txt): Computes the gradients of convolution with respect to the input.

[`convert_to_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/convert_to_tensor.md.txt): Converts the given `value` to a `Tensor`.

[`convert_to_tensor_or_indexed_slices(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/convert_to_tensor_or_indexed_slices.md.txt): Converts the given object to a `Tensor` or an `IndexedSlices`.

[`convert_to_tensor_or_sparse_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/convert_to_tensor_or_sparse_tensor.md.txt): Converts value to a `SparseTensor` or `Tensor`.

[`cos(...)`](https://www.tensorflow.org/api_docs/python/tf/math/cos.md.txt): Computes cos of x element-wise.

[`cosh(...)`](https://www.tensorflow.org/api_docs/python/tf/math/cosh.md.txt): Computes hyperbolic cosine of x element-wise.

[`count_nonzero(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/count_nonzero.md.txt): Computes number of nonzero elements across dimensions of a tensor. (deprecated arguments) (deprecated arguments)

[`count_up_to(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/count_up_to.md.txt): Increments 'ref' until it reaches 'limit'. (deprecated)

[`create_partitioned_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/create_partitioned_variables.md.txt): Create a list of partitioned variables according to the given `slicing`. (deprecated)

[`cross(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/cross.md.txt): Compute the pairwise cross product.

[`cumprod(...)`](https://www.tensorflow.org/api_docs/python/tf/math/cumprod.md.txt): Compute the cumulative product of the tensor `x` along `axis`.

[`cumsum(...)`](https://www.tensorflow.org/api_docs/python/tf/math/cumsum.md.txt): Compute the cumulative sum of the tensor `x` along `axis`.

[`custom_gradient(...)`](https://www.tensorflow.org/api_docs/python/tf/custom_gradient.md.txt): Decorator to define a function with a custom gradient.

[`decode_base64(...)`](https://www.tensorflow.org/api_docs/python/tf/io/decode_base64.md.txt): Decode web-safe base64-encoded strings.

[`decode_compressed(...)`](https://www.tensorflow.org/api_docs/python/tf/io/decode_compressed.md.txt): Decompress strings.

[`decode_csv(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/decode_csv.md.txt): Convert CSV records to tensors. Each column maps to one tensor.

[`decode_json_example(...)`](https://www.tensorflow.org/api_docs/python/tf/io/decode_json_example.md.txt): Convert JSON-encoded Example records to binary protocol buffer strings.

[`decode_raw(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/decode_raw.md.txt): Convert raw byte strings into tensors. (deprecated arguments)

[`delete_session_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/delete_session_tensor.md.txt): Delete the tensor for the given tensor handle.

[`depth_to_space(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/depth_to_space.md.txt): DepthToSpace for tensors of type T.

[`dequantize(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/dequantize.md.txt): Dequantize the 'input' tensor into a float or bfloat16 Tensor.

[`deserialize_many_sparse(...)`](https://www.tensorflow.org/api_docs/python/tf/io/deserialize_many_sparse.md.txt): Deserialize and concatenate `SparseTensors` from a serialized minibatch.

[`device(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/device.md.txt): Wrapper for [`Graph.device()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#device) using the default graph.

[`diag(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/tensor_diag.md.txt): Returns a diagonal tensor with a given diagonal values.

[`diag_part(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/tensor_diag_part.md.txt): Returns the diagonal part of the tensor.

[`digamma(...)`](https://www.tensorflow.org/api_docs/python/tf/math/digamma.md.txt): Computes Psi, the derivative of Lgamma (the log of the absolute value of

[`dimension_at_index(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/dimension_at_index.md.txt): Compatibility utility required to allow for both V1 and V2 behavior in TF.

[`dimension_value(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/dimension_value.md.txt): Compatibility utility required to allow for both V1 and V2 behavior in TF.

[`disable_control_flow_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/disable_control_flow_v2.md.txt): Opts out of control flow v2.

[`disable_eager_execution(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/disable_eager_execution.md.txt): Disables eager execution.

[`disable_resource_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/disable_resource_variables.md.txt): Opts out of resource variables. (deprecated)

[`disable_tensor_equality(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/disable_tensor_equality.md.txt): Compare Tensors by their id and be hashable.

[`disable_v2_behavior(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/disable_v2_behavior.md.txt): Disables TensorFlow 2.x behaviors.

[`disable_v2_tensorshape(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/disable_v2_tensorshape.md.txt): Disables the V2 TensorShape behavior and reverts to V1 behavior.

[`div(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/div.md.txt): Divides x / y elementwise (using Python 2 division operator semantics). (deprecated)

[`div_no_nan(...)`](https://www.tensorflow.org/api_docs/python/tf/math/divide_no_nan.md.txt): Computes a safe divide which returns 0 if `y` (denominator) is zero.

[`divide(...)`](https://www.tensorflow.org/api_docs/python/tf/math/divide.md.txt): Computes Python style division of `x` by `y`.

[`dynamic_partition(...)`](https://www.tensorflow.org/api_docs/python/tf/dynamic_partition.md.txt): Partitions `data` into `num_partitions` tensors using indices from `partitions`.

[`dynamic_stitch(...)`](https://www.tensorflow.org/api_docs/python/tf/dynamic_stitch.md.txt): Interleave the values from the `data` tensors into a single tensor.

[`edit_distance(...)`](https://www.tensorflow.org/api_docs/python/tf/edit_distance.md.txt): Computes the Levenshtein distance between sequences.

[`einsum(...)`](https://www.tensorflow.org/api_docs/python/tf/einsum.md.txt): Tensor contraction over specified indices and outer product.

[`enable_control_flow_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/enable_control_flow_v2.md.txt): Use control flow v2.

[`enable_eager_execution(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/enable_eager_execution.md.txt): Enables eager execution for the lifetime of this program.

[`enable_resource_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/enable_resource_variables.md.txt): Creates resource variables by default.

[`enable_tensor_equality(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/enable_tensor_equality.md.txt): Compare Tensors with element-wise comparison and thus be unhashable.

[`enable_v2_behavior(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/enable_v2_behavior.md.txt): Enables TensorFlow 2.x behaviors.

[`enable_v2_tensorshape(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/enable_v2_tensorshape.md.txt): In TensorFlow 2.0, iterating over a TensorShape instance returns values.

[`encode_base64(...)`](https://www.tensorflow.org/api_docs/python/tf/io/encode_base64.md.txt): Encode strings into web-safe base64 format.

[`ensure_shape(...)`](https://www.tensorflow.org/api_docs/python/tf/ensure_shape.md.txt): Updates the shape of a tensor and checks at runtime that the shape holds.

[`equal(...)`](https://www.tensorflow.org/api_docs/python/tf/math/equal.md.txt): Returns the truth value of (x == y) element-wise.

[`erf(...)`](https://www.tensorflow.org/api_docs/python/tf/math/erf.md.txt): Computes the [Gauss error function](https://en.wikipedia.org/wiki/Error_function) of `x` element-wise. In statistics, for non-negative values of \\(x\\), the error function has the following interpretation: for a random variable \\(Y\\) that is normally distributed with mean 0 and variance \\(1/\\sqrt{2}\\), \\(erf(x)\\) is the probability that \\(Y\\) falls in the range \\(\[−x, x\]\\).

[`erfc(...)`](https://www.tensorflow.org/api_docs/python/tf/math/erfc.md.txt): Computes the complementary error function of `x` element-wise.

[`executing_eagerly(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/executing_eagerly.md.txt): Checks whether the current thread has eager execution enabled.

[`executing_eagerly_outside_functions(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/executing_eagerly_outside_functions.md.txt): Returns True if executing eagerly, even if inside a graph function.

[`exp(...)`](https://www.tensorflow.org/api_docs/python/tf/math/exp.md.txt): Computes exponential of x element-wise. \\(y = e\^x\\).

[`expand_dims(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/expand_dims.md.txt): Returns a tensor with a length 1 axis inserted at index `axis`. (deprecated arguments)

[`expm1(...)`](https://www.tensorflow.org/api_docs/python/tf/math/expm1.md.txt): Computes `exp(x) - 1` element-wise.

[`extract_image_patches(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/extract_image_patches.md.txt): Extract `patches` from `images` and put them in the "depth" output dimension.

[`extract_volume_patches(...)`](https://www.tensorflow.org/api_docs/python/tf/extract_volume_patches.md.txt): Extract `patches` from `input` and put them in the `"depth"` output dimension. 3D extension of `extract_image_patches`.

[`eye(...)`](https://www.tensorflow.org/api_docs/python/tf/eye.md.txt): Construct an identity matrix, or a batch of matrices.

[`fake_quant_with_min_max_args(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/fake_quant_with_min_max_args.md.txt): Fake-quantize the 'inputs' tensor, type float to 'outputs' tensor of same shape and type.

[`fake_quant_with_min_max_args_gradient(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/fake_quant_with_min_max_args_gradient.md.txt): Compute gradients for a FakeQuantWithMinMaxArgs operation.

[`fake_quant_with_min_max_vars(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/fake_quant_with_min_max_vars.md.txt): Fake-quantize the 'inputs' tensor of type float via global float scalars

[`fake_quant_with_min_max_vars_gradient(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/fake_quant_with_min_max_vars_gradient.md.txt): Compute gradients for a FakeQuantWithMinMaxVars operation.

[`fake_quant_with_min_max_vars_per_channel(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/fake_quant_with_min_max_vars_per_channel.md.txt): Fake-quantize the 'inputs' tensor of type float via per-channel floats

[`fake_quant_with_min_max_vars_per_channel_gradient(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/fake_quant_with_min_max_vars_per_channel_gradient.md.txt): Compute gradients for a FakeQuantWithMinMaxVarsPerChannel operation.

[`fft(...)`](https://www.tensorflow.org/api_docs/python/tf/signal/fft.md.txt): Fast Fourier transform.

[`fft2d(...)`](https://www.tensorflow.org/api_docs/python/tf/signal/fft2d.md.txt): 2D fast Fourier transform.

[`fft3d(...)`](https://www.tensorflow.org/api_docs/python/tf/signal/fft3d.md.txt): 3D fast Fourier transform.

[`fftnd(...)`](https://www.tensorflow.org/api_docs/python/tf/fftnd.md.txt): ND fast Fourier transform.

[`fill(...)`](https://www.tensorflow.org/api_docs/python/tf/fill.md.txt): Creates a tensor filled with a scalar value.

[`fingerprint(...)`](https://www.tensorflow.org/api_docs/python/tf/fingerprint.md.txt): Generates fingerprint values.

[`fixed_size_partitioner(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/fixed_size_partitioner.md.txt): Partitioner to specify a fixed number of shards along given axis.

[`floor(...)`](https://www.tensorflow.org/api_docs/python/tf/math/floor.md.txt): Returns element-wise largest integer not greater than x.

[`floor_div(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/floor_div.md.txt): Returns x // y element-wise.

[`floordiv(...)`](https://www.tensorflow.org/api_docs/python/tf/math/floordiv.md.txt): Divides `x / y` elementwise, rounding toward the most negative integer.

[`floormod(...)`](https://www.tensorflow.org/api_docs/python/tf/math/floormod.md.txt): Returns element-wise remainder of division.

[`foldl(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/foldl.md.txt): foldl on the list of tensors unpacked from `elems` on dimension 0.

[`foldr(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/foldr.md.txt): foldr on the list of tensors unpacked from `elems` on dimension 0.

[`function(...)`](https://www.tensorflow.org/api_docs/python/tf/function.md.txt): Compiles a function into a callable TensorFlow graph. (deprecated arguments) (deprecated arguments) (deprecated arguments)

[`gather(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/gather.md.txt): Gather slices from params axis `axis` according to indices. (deprecated arguments)

[`gather_nd(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/gather_nd.md.txt): Gather slices from `params` into a Tensor with shape specified by `indices`.

[`get_collection(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_collection.md.txt): Wrapper for [`Graph.get_collection()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#get_collection) using the default graph.

[`get_collection_ref(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_collection_ref.md.txt): Wrapper for [`Graph.get_collection_ref()`](https://www.tensorflow.org/api_docs/python/tf/Graph.md.txt#get_collection_ref) using the default graph.

[`get_default_graph(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_default_graph.md.txt): Returns the default graph for the current thread.

[`get_default_session(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_default_session.md.txt): Returns the default session for the current thread.

[`get_local_variable(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_local_variable.md.txt): Gets an existing *local* variable or creates a new one.

[`get_logger(...)`](https://www.tensorflow.org/api_docs/python/tf/get_logger.md.txt): Return TF logger instance.

[`get_seed(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_seed.md.txt): Returns the local seeds an operation should use given an op-specific seed.

[`get_session_handle(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_session_handle.md.txt): Return the handle of `data`.

[`get_session_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_session_tensor.md.txt): Get the tensor of type `dtype` by feeding a tensor handle.

[`get_static_value(...)`](https://www.tensorflow.org/api_docs/python/tf/get_static_value.md.txt): Returns the constant value of the given tensor, if efficiently calculable.

[`get_variable(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_variable.md.txt): Gets an existing variable with these parameters or create a new one.

[`get_variable_scope(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/get_variable_scope.md.txt): Returns the current variable scope.

[`global_norm(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/global_norm.md.txt): Computes the global norm of multiple tensors.

[`global_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/global_variables.md.txt): Returns global variables.

[`global_variables_initializer(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/global_variables_initializer.md.txt): Returns an Op that initializes global variables.

[`grad_pass_through(...)`](https://www.tensorflow.org/api_docs/python/tf/grad_pass_through.md.txt): Creates a grad-pass-through op with the forward behavior provided in f.

[`gradients(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/gradients.md.txt): Constructs symbolic derivatives of sum of `ys` w.r.t. x in `xs`.

[`greater(...)`](https://www.tensorflow.org/api_docs/python/tf/math/greater.md.txt): Returns the truth value of (x \> y) element-wise.

[`greater_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/math/greater_equal.md.txt): Returns the truth value of (x \>= y) element-wise.

[`group(...)`](https://www.tensorflow.org/api_docs/python/tf/group.md.txt): Create an op that groups multiple operations.

[`guarantee_const(...)`](https://www.tensorflow.org/api_docs/python/tf/guarantee_const.md.txt): Promise to the TF runtime that the input tensor is a constant. (deprecated)

[`hessians(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/hessians.md.txt): Constructs the Hessian of sum of `ys` with respect to `x` in `xs`.

[`histogram_fixed_width(...)`](https://www.tensorflow.org/api_docs/python/tf/histogram_fixed_width.md.txt): Return histogram of values.

[`histogram_fixed_width_bins(...)`](https://www.tensorflow.org/api_docs/python/tf/histogram_fixed_width_bins.md.txt): Bins the given values for use in a histogram.

[`identity(...)`](https://www.tensorflow.org/api_docs/python/tf/identity.md.txt): Return a Tensor with the same shape and contents as input.

[`identity_n(...)`](https://www.tensorflow.org/api_docs/python/tf/identity_n.md.txt): Returns a list of tensors with the same shapes and contents as the input

[`ifft(...)`](https://www.tensorflow.org/api_docs/python/tf/signal/ifft.md.txt): Inverse fast Fourier transform.

[`ifft2d(...)`](https://www.tensorflow.org/api_docs/python/tf/signal/ifft2d.md.txt): Inverse 2D fast Fourier transform.

[`ifft3d(...)`](https://www.tensorflow.org/api_docs/python/tf/signal/ifft3d.md.txt): Inverse 3D fast Fourier transform.

[`ifftnd(...)`](https://www.tensorflow.org/api_docs/python/tf/ifftnd.md.txt): ND inverse fast Fourier transform.

[`igamma(...)`](https://www.tensorflow.org/api_docs/python/tf/math/igamma.md.txt): Compute the lower regularized incomplete Gamma function `P(a, x)`.

[`igammac(...)`](https://www.tensorflow.org/api_docs/python/tf/math/igammac.md.txt): Compute the upper regularized incomplete Gamma function `Q(a, x)`.

[`imag(...)`](https://www.tensorflow.org/api_docs/python/tf/math/imag.md.txt): Returns the imaginary part of a complex (or real) tensor.

[`import_graph_def(...)`](https://www.tensorflow.org/api_docs/python/tf/graph_util/import_graph_def.md.txt): Imports the graph from `graph_def` into the current default `Graph`. (deprecated arguments)

[`init_scope(...)`](https://www.tensorflow.org/api_docs/python/tf/init_scope.md.txt): A context manager that lifts ops out of control-flow scopes and function-building graphs.

[`initialize_all_tables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/initialize_all_tables.md.txt): Returns an Op that initializes all tables of the default graph. (deprecated)

[`initialize_all_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/initialize_all_variables.md.txt): See [`tf.compat.v1.global_variables_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/global_variables_initializer.md.txt). (deprecated)

[`initialize_local_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/initialize_local_variables.md.txt): See [`tf.compat.v1.local_variables_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/local_variables_initializer.md.txt). (deprecated)

[`initialize_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/initialize_variables.md.txt): See [`tf.compat.v1.variables_initializer`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variables_initializer.md.txt). (deprecated)

[`invert_permutation(...)`](https://www.tensorflow.org/api_docs/python/tf/math/invert_permutation.md.txt): Computes the inverse permutation of a tensor.

[`irfftnd(...)`](https://www.tensorflow.org/api_docs/python/tf/irfftnd.md.txt): ND inverse real fast Fourier transform.

[`is_finite(...)`](https://www.tensorflow.org/api_docs/python/tf/math/is_finite.md.txt): Returns which elements of x are finite.

[`is_inf(...)`](https://www.tensorflow.org/api_docs/python/tf/math/is_inf.md.txt): Returns which elements of x are Inf.

[`is_nan(...)`](https://www.tensorflow.org/api_docs/python/tf/math/is_nan.md.txt): Returns which elements of x are NaN.

[`is_non_decreasing(...)`](https://www.tensorflow.org/api_docs/python/tf/math/is_non_decreasing.md.txt): Returns `True` if `x` is non-decreasing.

[`is_numeric_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/debugging/is_numeric_tensor.md.txt): Returns `True` if the elements of `tensor` are numbers.

[`is_strictly_increasing(...)`](https://www.tensorflow.org/api_docs/python/tf/math/is_strictly_increasing.md.txt): Returns `True` if `x` is strictly increasing.

[`is_symbolic_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/is_symbolic_tensor.md.txt): Test if `tensor` is a symbolic Tensor.

[`is_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/is_tensor.md.txt): Checks whether `x` is a TF-native type that can be passed to many TF ops.

[`is_variable_initialized(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/is_variable_initialized.md.txt): Tests if a variable has been initialized.

[`lbeta(...)`](https://www.tensorflow.org/api_docs/python/tf/math/lbeta.md.txt): Computes \\(ln(\|Beta(x)\|)\\), reducing along the last dimension.

[`less(...)`](https://www.tensorflow.org/api_docs/python/tf/math/less.md.txt): Returns the truth value of (x \< y) element-wise.

[`less_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/math/less_equal.md.txt): Returns the truth value of (x \<= y) element-wise.

[`lgamma(...)`](https://www.tensorflow.org/api_docs/python/tf/math/lgamma.md.txt): Computes the log of the absolute value of `Gamma(x)` element-wise.

[`lin_space(...)`](https://www.tensorflow.org/api_docs/python/tf/linspace.md.txt): Generates evenly-spaced values in an interval along a given axis.

[`linspace(...)`](https://www.tensorflow.org/api_docs/python/tf/linspace.md.txt): Generates evenly-spaced values in an interval along a given axis.

[`load_file_system_library(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/load_file_system_library.md.txt): Loads a TensorFlow plugin, containing file system implementation. (deprecated)

[`load_library(...)`](https://www.tensorflow.org/api_docs/python/tf/load_library.md.txt): Loads a TensorFlow plugin.

[`load_op_library(...)`](https://www.tensorflow.org/api_docs/python/tf/load_op_library.md.txt): Loads a TensorFlow plugin, containing custom ops and kernels.

[`local_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/local_variables.md.txt): Returns local variables.

[`local_variables_initializer(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/local_variables_initializer.md.txt): Returns an Op that initializes all local variables.

[`log(...)`](https://www.tensorflow.org/api_docs/python/tf/math/log.md.txt): Computes natural logarithm of x element-wise.

[`log1p(...)`](https://www.tensorflow.org/api_docs/python/tf/math/log1p.md.txt): Computes natural logarithm of (1 + x) element-wise.

[`log_sigmoid(...)`](https://www.tensorflow.org/api_docs/python/tf/math/log_sigmoid.md.txt): Computes log sigmoid of `x` element-wise.

[`logical_and(...)`](https://www.tensorflow.org/api_docs/python/tf/math/logical_and.md.txt): Returns the truth value of x AND y element-wise.

[`logical_not(...)`](https://www.tensorflow.org/api_docs/python/tf/math/logical_not.md.txt): Returns the truth value of `NOT x` element-wise.

[`logical_or(...)`](https://www.tensorflow.org/api_docs/python/tf/math/logical_or.md.txt): Returns the truth value of x OR y element-wise.

[`logical_xor(...)`](https://www.tensorflow.org/api_docs/python/tf/math/logical_xor.md.txt): Logical XOR function.

[`make_ndarray(...)`](https://www.tensorflow.org/api_docs/python/tf/make_ndarray.md.txt): Create a numpy ndarray from a tensor.

[`make_template(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/make_template.md.txt): Given an arbitrary function, wrap it so that it does variable sharing.

[`make_tensor_proto(...)`](https://www.tensorflow.org/api_docs/python/tf/make_tensor_proto.md.txt): Create a TensorProto.

[`map_fn(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/map_fn.md.txt): Transforms `elems` by applying `fn` to each element unstacked on axis 0. (deprecated arguments)

[`matching_files(...)`](https://www.tensorflow.org/api_docs/python/tf/io/matching_files.md.txt): Returns the set of files matching one or more glob patterns.

[`matmul(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/matmul.md.txt): Multiplies matrix `a` by matrix `b`, producing `a` \* `b`.

[`matrix_band_part(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/band_part.md.txt): Copy a tensor setting everything outside a central band in each innermost matrix to zero.

[`matrix_determinant(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/det.md.txt): Computes the determinant of one or more square matrices.

[`matrix_diag(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/diag.md.txt): Returns a batched diagonal tensor with given batched diagonal values.

[`matrix_diag_part(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/diag_part.md.txt): Returns the batched diagonal part of a batched tensor.

[`matrix_inverse(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/inv.md.txt): Computes the inverse of one or more square invertible matrices or their adjoints (conjugate transposes).

[`matrix_set_diag(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/set_diag.md.txt): Returns a batched matrix tensor with new batched diagonal values.

[`matrix_solve(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/solve.md.txt): Solves systems of linear equations.

[`matrix_solve_ls(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/lstsq.md.txt): Solves one or more linear least-squares problems.

[`matrix_square_root(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/sqrtm.md.txt): Computes the matrix square root of one or more square matrices:

[`matrix_transpose(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/matrix_transpose.md.txt): Transposes last two dimensions of tensor `a`.

[`matrix_triangular_solve(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/triangular_solve.md.txt): Solve systems of linear equations with upper or lower triangular matrices.

[`maximum(...)`](https://www.tensorflow.org/api_docs/python/tf/math/maximum.md.txt): Returns the max of x and y (i.e. x \> y ? x : y) element-wise.

[`meshgrid(...)`](https://www.tensorflow.org/api_docs/python/tf/meshgrid.md.txt): Broadcasts parameters for evaluation on an N-D grid.

[`min_max_variable_partitioner(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/min_max_variable_partitioner.md.txt): Partitioner to allocate minimum size per slice.

[`minimum(...)`](https://www.tensorflow.org/api_docs/python/tf/math/minimum.md.txt): Returns the min of x and y (i.e. x \< y ? x : y) element-wise.

[`mod(...)`](https://www.tensorflow.org/api_docs/python/tf/math/floormod.md.txt): Returns element-wise remainder of division.

[`model_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/model_variables.md.txt): Returns all variables in the MODEL_VARIABLES collection.

[`moving_average_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/moving_average_variables.md.txt): Returns all variables that maintain their moving averages.

[`multinomial(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/multinomial.md.txt): Draws samples from a multinomial distribution. (deprecated)

[`multiply(...)`](https://www.tensorflow.org/api_docs/python/tf/math/multiply.md.txt): Returns an element-wise x \* y.

[`negative(...)`](https://www.tensorflow.org/api_docs/python/tf/math/negative.md.txt): Computes numerical negative value element-wise.

[`no_gradient(...)`](https://www.tensorflow.org/api_docs/python/tf/no_gradient.md.txt): Specifies that ops of type `op_type` is not differentiable.

[`no_op(...)`](https://www.tensorflow.org/api_docs/python/tf/no_op.md.txt): Does nothing. Only useful as a placeholder for control edges.

[`no_regularizer(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/no_regularizer.md.txt): Use this function to prevent regularization of variables.

[`nondifferentiable_batch_function(...)`](https://www.tensorflow.org/api_docs/python/tf/nondifferentiable_batch_function.md.txt): Batches the computation done by the decorated function.

[`norm(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/norm.md.txt): Computes the norm of vectors, matrices, and tensors. (deprecated arguments)

[`not_equal(...)`](https://www.tensorflow.org/api_docs/python/tf/math/not_equal.md.txt): Returns the truth value of (x != y) element-wise.

[`numpy_function(...)`](https://www.tensorflow.org/api_docs/python/tf/numpy_function.md.txt): Wraps a python function and uses it as a TensorFlow op.

[`one_hot(...)`](https://www.tensorflow.org/api_docs/python/tf/one_hot.md.txt): Returns a one-hot tensor.

[`ones(...)`](https://www.tensorflow.org/api_docs/python/tf/ones.md.txt): Creates a tensor with all elements set to one (1).

[`ones_like(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/ones_like.md.txt): Creates a tensor with all elements set to 1.

[`op_scope(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/op_scope.md.txt): DEPRECATED. Same as name_scope above, just different argument order.

[`pad(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/pad.md.txt): Pads a tensor.

[`parallel_stack(...)`](https://www.tensorflow.org/api_docs/python/tf/parallel_stack.md.txt): Stacks a list of rank-`R` tensors into one rank-`(R+1)` tensor in parallel.

[`parse_example(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/parse_example.md.txt): Parses `Example` protos into a `dict` of tensors.

[`parse_single_example(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/parse_single_example.md.txt): Parses a single `Example` proto.

[`parse_single_sequence_example(...)`](https://www.tensorflow.org/api_docs/python/tf/io/parse_single_sequence_example.md.txt): Parses a single `SequenceExample` proto.

[`parse_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/io/parse_tensor.md.txt): Transforms a serialized tensorflow.TensorProto proto into a Tensor.

[`placeholder(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/placeholder.md.txt): Inserts a placeholder for a tensor that will be always fed.

[`placeholder_with_default(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/placeholder_with_default.md.txt): A placeholder op that passes through `input` when its output is not fed.

[`polygamma(...)`](https://www.tensorflow.org/api_docs/python/tf/math/polygamma.md.txt): Compute the polygamma function \\(\\psi\^{(n)}(x)\\).

[`pow(...)`](https://www.tensorflow.org/api_docs/python/tf/math/pow.md.txt): Computes the power of one value to another.

[`print(...)`](https://www.tensorflow.org/api_docs/python/tf/print.md.txt): Print the specified inputs.

[`py_func(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/py_func.md.txt): Wraps a python function and uses it as a TensorFlow op.

[`py_function(...)`](https://www.tensorflow.org/api_docs/python/tf/py_function.md.txt): Wraps a python function into a TensorFlow op that executes it eagerly.

[`qr(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/qr.md.txt): Computes the QR decompositions of one or more matrices.

[`quantize(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/quantize.md.txt): Quantize the 'input' tensor of type float to 'output' tensor of type 'T'.

[`quantize_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/quantize_v2.md.txt): Please use [`tf.quantization.quantize`](https://www.tensorflow.org/api_docs/python/tf/quantization/quantize.md.txt) instead.

[`quantized_concat(...)`](https://www.tensorflow.org/api_docs/python/tf/quantization/quantized_concat.md.txt): Concatenates quantized tensors along one dimension.

[`ragged_fill_empty_rows(...)`](https://www.tensorflow.org/api_docs/python/tf/ragged_fill_empty_rows.md.txt)

[`ragged_fill_empty_rows_grad(...)`](https://www.tensorflow.org/api_docs/python/tf/ragged_fill_empty_rows_grad.md.txt)

[`random_crop(...)`](https://www.tensorflow.org/api_docs/python/tf/image/random_crop.md.txt): Randomly crops a tensor to a given size.

[`random_gamma(...)`](https://www.tensorflow.org/api_docs/python/tf/random/gamma.md.txt): Draws `shape` samples from each of the given Gamma distribution(s).

[`random_index_shuffle(...)`](https://www.tensorflow.org/api_docs/python/tf/random_index_shuffle.md.txt): Outputs the position of `value` in a permutation of \[0, ..., max_index\].

[`random_normal(...)`](https://www.tensorflow.org/api_docs/python/tf/random/normal.md.txt): Outputs random values from a normal distribution.

[`random_poisson(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/random_poisson.md.txt): Draws `shape` samples from each of the given Poisson distribution(s).

[`random_shuffle(...)`](https://www.tensorflow.org/api_docs/python/tf/random/shuffle.md.txt): Randomly shuffles a tensor along its first dimension.

[`random_uniform(...)`](https://www.tensorflow.org/api_docs/python/tf/random/uniform.md.txt): Outputs random values from a uniform distribution.

[`range(...)`](https://www.tensorflow.org/api_docs/python/tf/range.md.txt): Creates a sequence of numbers.

[`rank(...)`](https://www.tensorflow.org/api_docs/python/tf/rank.md.txt): Returns the rank of a tensor.

[`read_file(...)`](https://www.tensorflow.org/api_docs/python/tf/io/read_file.md.txt): Reads the contents of file.

[`real(...)`](https://www.tensorflow.org/api_docs/python/tf/math/real.md.txt): Returns the real part of a complex (or real) tensor.

[`realdiv(...)`](https://www.tensorflow.org/api_docs/python/tf/realdiv.md.txt): Returns x / y element-wise for real types.

[`reciprocal(...)`](https://www.tensorflow.org/api_docs/python/tf/math/reciprocal.md.txt): Computes the reciprocal of x element-wise.

[`recompute_grad(...)`](https://www.tensorflow.org/api_docs/python/tf/recompute_grad.md.txt): Defines a function as a recompute-checkpoint for the tape auto-diff.

[`reduce_all(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_all.md.txt): Computes [`tf.math.logical_and`](https://www.tensorflow.org/api_docs/python/tf/math/logical_and.md.txt) of elements across dimensions of a tensor. (deprecated arguments)

[`reduce_any(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_any.md.txt): Computes [`tf.math.logical_or`](https://www.tensorflow.org/api_docs/python/tf/math/logical_or.md.txt) of elements across dimensions of a tensor. (deprecated arguments)

[`reduce_join(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_join.md.txt): Joins all strings into a single string, or joins along an axis.

[`reduce_logsumexp(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_logsumexp.md.txt): Computes log(sum(exp(elements across dimensions of a tensor))). (deprecated arguments)

[`reduce_max(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_max.md.txt): Computes [`tf.math.maximum`](https://www.tensorflow.org/api_docs/python/tf/math/maximum.md.txt) of elements across dimensions of a tensor. (deprecated arguments)

[`reduce_mean(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_mean.md.txt): Computes the mean of elements across dimensions of a tensor.

[`reduce_min(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_min.md.txt): Computes the [`tf.math.minimum`](https://www.tensorflow.org/api_docs/python/tf/math/minimum.md.txt) of elements across dimensions of a tensor. (deprecated arguments)

[`reduce_prod(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_prod.md.txt): Computes [`tf.math.multiply`](https://www.tensorflow.org/api_docs/python/tf/math/multiply.md.txt) of elements across dimensions of a tensor. (deprecated arguments)

[`reduce_sum(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reduce_sum.md.txt): Computes the sum of elements across dimensions of a tensor. (deprecated arguments)

[`regex_replace(...)`](https://www.tensorflow.org/api_docs/python/tf/strings/regex_replace.md.txt): Replace elements of `input` matching regex `pattern` with `rewrite`.

[`register_tensor_conversion_function(...)`](https://www.tensorflow.org/api_docs/python/tf/register_tensor_conversion_function.md.txt): Registers a function for converting objects of `base_type` to `Tensor`.

[`repeat(...)`](https://www.tensorflow.org/api_docs/python/tf/repeat.md.txt): Repeat elements of `input`.

[`report_uninitialized_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/report_uninitialized_variables.md.txt): Adds ops to list the names of uninitialized variables.

[`required_space_to_batch_paddings(...)`](https://www.tensorflow.org/api_docs/python/tf/required_space_to_batch_paddings.md.txt): Calculate padding required to make block_shape divide input_shape.

[`reset_default_graph(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reset_default_graph.md.txt): Clears the default graph stack and resets the global default graph.

[`reshape(...)`](https://www.tensorflow.org/api_docs/python/tf/reshape.md.txt): Reshapes a tensor.

[`resource_variables_enabled(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/resource_variables_enabled.md.txt): Returns `True` if resource variables are enabled.

[`reverse(...)`](https://www.tensorflow.org/api_docs/python/tf/reverse.md.txt): Reverses specific dimensions of a tensor.

[`reverse_sequence(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/reverse_sequence.md.txt): Reverses variable length slices. (deprecated arguments) (deprecated arguments)

[`reverse_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/reverse.md.txt): Reverses specific dimensions of a tensor.

[`rfftnd(...)`](https://www.tensorflow.org/api_docs/python/tf/rfftnd.md.txt): ND fast real Fourier transform.

[`rint(...)`](https://www.tensorflow.org/api_docs/python/tf/math/rint.md.txt): Returns element-wise integer closest to x.

[`roll(...)`](https://www.tensorflow.org/api_docs/python/tf/roll.md.txt): Rolls the elements of a tensor along an axis.

[`round(...)`](https://www.tensorflow.org/api_docs/python/tf/math/round.md.txt): Rounds the values of a tensor to the nearest integer, element-wise.

[`rsqrt(...)`](https://www.tensorflow.org/api_docs/python/tf/math/rsqrt.md.txt): Computes reciprocal of square root of x element-wise.

[`saturate_cast(...)`](https://www.tensorflow.org/api_docs/python/tf/dtypes/saturate_cast.md.txt): Performs a safe saturating cast of `value` to `dtype`.

[`scalar_mul(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scalar_mul.md.txt): Multiplies a scalar times a `Tensor` or `IndexedSlices` object.

[`scan(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scan.md.txt): scan on the list of tensors unpacked from `elems` on dimension 0.

[`scatter_add(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_add.md.txt): Adds sparse updates to the variable referenced by `resource`.

[`scatter_div(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_div.md.txt): Divides a variable reference by sparse updates.

[`scatter_max(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_max.md.txt): Reduces sparse updates into a variable reference using the `max` operation.

[`scatter_min(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_min.md.txt): Reduces sparse updates into a variable reference using the `min` operation.

[`scatter_mul(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_mul.md.txt): Multiplies sparse updates into a variable reference.

[`scatter_nd(...)`](https://www.tensorflow.org/api_docs/python/tf/scatter_nd.md.txt): Scatters `updates` into a tensor of shape `shape` according to `indices`.

[`scatter_nd_add(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_nd_add.md.txt): Applies sparse addition to individual values or slices in a Variable.

[`scatter_nd_sub(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_nd_sub.md.txt): Applies sparse subtraction to individual values or slices in a Variable.

[`scatter_nd_update(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_nd_update.md.txt): Applies sparse `updates` to individual values or slices in a Variable.

[`scatter_sub(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_sub.md.txt): Subtracts sparse updates to a variable reference.

[`scatter_update(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/scatter_update.md.txt): Applies sparse updates to a variable reference.

[`searchsorted(...)`](https://www.tensorflow.org/api_docs/python/tf/searchsorted.md.txt): Searches for where a value would go in a sorted sequence.

[`segment_max(...)`](https://www.tensorflow.org/api_docs/python/tf/math/segment_max.md.txt): Computes the maximum along segments of a tensor.

[`segment_mean(...)`](https://www.tensorflow.org/api_docs/python/tf/math/segment_mean.md.txt): Computes the mean along segments of a tensor.

[`segment_min(...)`](https://www.tensorflow.org/api_docs/python/tf/math/segment_min.md.txt): Computes the minimum along segments of a tensor.

[`segment_prod(...)`](https://www.tensorflow.org/api_docs/python/tf/math/segment_prod.md.txt): Computes the product along segments of a tensor.

[`segment_sum(...)`](https://www.tensorflow.org/api_docs/python/tf/math/segment_sum.md.txt): Computes the sum along segments of a tensor.

[`self_adjoint_eig(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/eigh.md.txt): Computes the eigen decomposition of a batch of self-adjoint matrices.

[`self_adjoint_eigvals(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/eigvalsh.md.txt): Computes the eigenvalues of one or more self-adjoint matrices.

[`sequence_mask(...)`](https://www.tensorflow.org/api_docs/python/tf/sequence_mask.md.txt): Returns a mask tensor representing the first N positions of each cell.

[`serialize_many_sparse(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/serialize_many_sparse.md.txt): Serialize `N`-minibatch `SparseTensor` into an `[N, 3]` `Tensor`.

[`serialize_sparse(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/serialize_sparse.md.txt): Serialize a `SparseTensor` into a 3-vector (1-D `Tensor`) object.

[`serialize_tensor(...)`](https://www.tensorflow.org/api_docs/python/tf/io/serialize_tensor.md.txt): Transforms a Tensor into a serialized TensorProto proto.

[`set_random_seed(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/set_random_seed.md.txt): Sets the graph-level random seed for the default graph.

[`setdiff1d(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/setdiff1d.md.txt): Computes the difference between two lists of numbers or strings.

[`shape(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/shape.md.txt): Returns the shape of a tensor.

[`shape_n(...)`](https://www.tensorflow.org/api_docs/python/tf/shape_n.md.txt): Returns shape of a list of tensors.

[`sigmoid(...)`](https://www.tensorflow.org/api_docs/python/tf/math/sigmoid.md.txt): Computes sigmoid of `x` element-wise.

[`sign(...)`](https://www.tensorflow.org/api_docs/python/tf/math/sign.md.txt): Returns an element-wise indication of the sign of a number.

[`sin(...)`](https://www.tensorflow.org/api_docs/python/tf/math/sin.md.txt): Computes sine of x element-wise.

[`sinh(...)`](https://www.tensorflow.org/api_docs/python/tf/math/sinh.md.txt): Computes hyperbolic sine of x element-wise.

[`size(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/size.md.txt): Returns the size of a tensor.

[`slice(...)`](https://www.tensorflow.org/api_docs/python/tf/slice.md.txt): Extracts a slice from a tensor.

[`sort(...)`](https://www.tensorflow.org/api_docs/python/tf/sort.md.txt): Sorts a tensor.

[`space_to_batch(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/space_to_batch.md.txt): SpaceToBatch for 4-D tensors of type T.

[`space_to_batch_nd(...)`](https://www.tensorflow.org/api_docs/python/tf/space_to_batch_nd.md.txt): SpaceToBatch for N-D tensors of type T.

[`space_to_depth(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/space_to_depth.md.txt): SpaceToDepth for tensors of type T.

[`sparse_add(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_add.md.txt): Adds two tensors, at least one of each is a `SparseTensor`. (deprecated arguments)

[`sparse_concat(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_concat.md.txt): Concatenates a list of `SparseTensor` along the specified dimension. (deprecated arguments)

[`sparse_fill_empty_rows(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/fill_empty_rows.md.txt): Fills empty rows in the input 2-D `SparseTensor` with a default value.

[`sparse_mask(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/mask.md.txt): Masks elements of `IndexedSlices`.

[`sparse_matmul(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_matmul.md.txt): Multiply matrix "a" by matrix "b". (deprecated)

[`sparse_maximum(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/maximum.md.txt): Returns the element-wise max of two SparseTensors.

[`sparse_merge(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_merge.md.txt): Combines a batch of feature ids and values into a single `SparseTensor`. (deprecated)

[`sparse_minimum(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/minimum.md.txt): Returns the element-wise min of two SparseTensors.

[`sparse_placeholder(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_placeholder.md.txt): Inserts a placeholder for a sparse tensor that will be always fed.

[`sparse_reduce_max(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_reduce_max.md.txt): Computes [`tf.sparse.maximum`](https://www.tensorflow.org/api_docs/python/tf/sparse/maximum.md.txt) of elements across dimensions of a SparseTensor. (deprecated arguments) (deprecated arguments)

[`sparse_reduce_max_sparse(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_reduce_max_sparse.md.txt): Computes the max of elements across dimensions of a SparseTensor. (deprecated arguments)

[`sparse_reduce_sum(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_reduce_sum.md.txt): Computes [`tf.sparse.add`](https://www.tensorflow.org/api_docs/python/tf/sparse/add.md.txt) of elements across dimensions of a SparseTensor. (deprecated arguments) (deprecated arguments)

[`sparse_reduce_sum_sparse(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_reduce_sum_sparse.md.txt): Computes the sum of elements across dimensions of a SparseTensor. (deprecated arguments)

[`sparse_reorder(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/reorder.md.txt): Reorders a `SparseTensor` into the canonical, row-major ordering.

[`sparse_reset_shape(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/reset_shape.md.txt): Resets the shape of a `SparseTensor` with indices and values unchanged.

[`sparse_reshape(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/reshape.md.txt): Reshapes a `SparseTensor` to represent values in a new dense shape.

[`sparse_retain(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/retain.md.txt): Retains specified non-empty values within a `SparseTensor`.

[`sparse_segment_mean(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_segment_mean.md.txt): Computes the mean along sparse segments of a tensor.

[`sparse_segment_sqrt_n(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_segment_sqrt_n.md.txt): Computes the sum along sparse segments of a tensor divided by the sqrt(N).

[`sparse_segment_sum(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_segment_sum.md.txt): Computes the sum along sparse segments of a tensor.

[`sparse_slice(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/slice.md.txt): Slice a `SparseTensor` based on the `start` and `size`.

[`sparse_softmax(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/softmax.md.txt): Applies softmax to a batched N-D `SparseTensor`.

[`sparse_split(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_split.md.txt): Split a `SparseTensor` into `num_split` tensors along `axis`. (deprecated arguments)

[`sparse_tensor_dense_matmul(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/sparse_dense_matmul.md.txt): Multiply SparseTensor (or dense Matrix) (of rank 2) "A" by dense matrix

[`sparse_tensor_to_dense(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/to_dense.md.txt): Converts a `SparseTensor` into a dense tensor.

[`sparse_to_dense(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/sparse_to_dense.md.txt): Converts a sparse representation into a dense tensor. (deprecated)

[`sparse_to_indicator(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/to_indicator.md.txt): Converts a `SparseTensor` of ids into a dense bool indicator tensor.

[`sparse_transpose(...)`](https://www.tensorflow.org/api_docs/python/tf/sparse/transpose.md.txt): Transposes a `SparseTensor`.

[`split(...)`](https://www.tensorflow.org/api_docs/python/tf/split.md.txt): Splits a tensor `value` into a list of sub tensors.

[`sqrt(...)`](https://www.tensorflow.org/api_docs/python/tf/math/sqrt.md.txt): Computes element-wise square root of the input tensor.

[`square(...)`](https://www.tensorflow.org/api_docs/python/tf/math/square.md.txt): Computes square of x element-wise.

[`squared_difference(...)`](https://www.tensorflow.org/api_docs/python/tf/math/squared_difference.md.txt): Returns conj(x - y)(x - y) element-wise.

[`squeeze(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/squeeze.md.txt): Removes dimensions of size 1 from the shape of a tensor. (deprecated arguments)

[`stack(...)`](https://www.tensorflow.org/api_docs/python/tf/stack.md.txt): Stacks a list of rank-`R` tensors into one rank-`(R+1)` tensor.

[`stop_gradient(...)`](https://www.tensorflow.org/api_docs/python/tf/stop_gradient.md.txt): Stops gradient computation.

[`strided_slice(...)`](https://www.tensorflow.org/api_docs/python/tf/strided_slice.md.txt): Extracts a strided slice of a tensor (generalized Python array indexing).

[`string_join(...)`](https://www.tensorflow.org/api_docs/python/tf/strings/join.md.txt): Perform element-wise concatenation of a list of string tensors.

[`string_split(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/string_split.md.txt): Split elements of `source` based on `delimiter`. (deprecated arguments)

[`string_strip(...)`](https://www.tensorflow.org/api_docs/python/tf/strings/strip.md.txt): Strip leading and trailing whitespaces from the Tensor.

[`string_to_hash_bucket(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/string_to_hash_bucket.md.txt): Converts each string in the input Tensor to its hash mod by a number of buckets.

[`string_to_hash_bucket_fast(...)`](https://www.tensorflow.org/api_docs/python/tf/strings/to_hash_bucket_fast.md.txt): Converts each string in the input Tensor to its hash mod by a number of buckets.

[`string_to_hash_bucket_strong(...)`](https://www.tensorflow.org/api_docs/python/tf/strings/to_hash_bucket_strong.md.txt): Converts each string in the input Tensor to its hash mod by a number of buckets.

[`string_to_number(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/string_to_number.md.txt): Converts each string in the input Tensor to the specified numeric type.

[`substr(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/substr.md.txt): Return substrings from `Tensor` of strings.

[`subtract(...)`](https://www.tensorflow.org/api_docs/python/tf/math/subtract.md.txt): Returns x - y element-wise.

[`svd(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/svd.md.txt): Computes the singular value decompositions of one or more matrices.

[`switch_case(...)`](https://www.tensorflow.org/api_docs/python/tf/switch_case.md.txt): Create a switch/case operation, i.e.

[`tables_initializer(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/tables_initializer.md.txt): Returns an Op that initializes all tables of the default graph.

[`tan(...)`](https://www.tensorflow.org/api_docs/python/tf/math/tan.md.txt): Computes tan of x element-wise.

[`tanh(...)`](https://www.tensorflow.org/api_docs/python/tf/math/tanh.md.txt): Computes hyperbolic tangent of `x` element-wise.

[`tensor_scatter_add(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_add.md.txt): Adds sparse `updates` to an existing tensor according to `indices`.

[`tensor_scatter_nd_add(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_add.md.txt): Adds sparse `updates` to an existing tensor according to `indices`.

[`tensor_scatter_nd_max(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_max.md.txt): Apply a sparse update to a tensor taking the element-wise maximum.

[`tensor_scatter_nd_min(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_min.md.txt)

[`tensor_scatter_nd_sub(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_sub.md.txt): Subtracts sparse `updates` from an existing tensor according to `indices`.

[`tensor_scatter_nd_update(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_update.md.txt): Scatter `updates` into an existing tensor according to `indices`.

[`tensor_scatter_sub(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_sub.md.txt): Subtracts sparse `updates` from an existing tensor according to `indices`.

[`tensor_scatter_update(...)`](https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_update.md.txt): Scatter `updates` into an existing tensor according to `indices`.

[`tensordot(...)`](https://www.tensorflow.org/api_docs/python/tf/tensordot.md.txt): Tensor contraction of a and b along specified axes and outer product.

[`tile(...)`](https://www.tensorflow.org/api_docs/python/tf/tile.md.txt): Constructs a tensor by tiling a given tensor.

[`timestamp(...)`](https://www.tensorflow.org/api_docs/python/tf/timestamp.md.txt): Provides the time since epoch in seconds.

[`to_bfloat16(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_bfloat16.md.txt): Casts a tensor to type `bfloat16`. (deprecated)

[`to_complex128(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_complex128.md.txt): Casts a tensor to type `complex128`. (deprecated)

[`to_complex64(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_complex64.md.txt): Casts a tensor to type `complex64`. (deprecated)

[`to_double(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_double.md.txt): Casts a tensor to type `float64`. (deprecated)

[`to_float(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_float.md.txt): Casts a tensor to type `float32`. (deprecated)

[`to_int32(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_int32.md.txt): Casts a tensor to type `int32`. (deprecated)

[`to_int64(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/to_int64.md.txt): Casts a tensor to type `int64`. (deprecated)

[`trace(...)`](https://www.tensorflow.org/api_docs/python/tf/linalg/trace.md.txt): Compute the trace of a tensor `x`.

[`trainable_variables(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/trainable_variables.md.txt): Returns all variables created with `trainable=True`.

[`transpose(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/transpose.md.txt): Transposes `a`.

[`truediv(...)`](https://www.tensorflow.org/api_docs/python/tf/math/truediv.md.txt): Divides x / y elementwise (using Python 3 division operator semantics).

[`truncated_normal(...)`](https://www.tensorflow.org/api_docs/python/tf/random/truncated_normal.md.txt): Outputs random values from a truncated normal distribution.

[`truncatediv(...)`](https://www.tensorflow.org/api_docs/python/tf/truncatediv.md.txt): Returns x / y element-wise, rounded towards zero.

[`truncatemod(...)`](https://www.tensorflow.org/api_docs/python/tf/truncatemod.md.txt): Returns element-wise remainder of division.

[`tuple(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/tuple.md.txt): Group tensors together.

[`type_spec_from_value(...)`](https://www.tensorflow.org/api_docs/python/tf/type_spec_from_value.md.txt): Returns a [`tf.TypeSpec`](https://www.tensorflow.org/api_docs/python/tf/TypeSpec.md.txt) that represents the given `value`.

[`unique(...)`](https://www.tensorflow.org/api_docs/python/tf/unique.md.txt): Finds unique elements in a 1-D tensor.

[`unique_with_counts(...)`](https://www.tensorflow.org/api_docs/python/tf/unique_with_counts.md.txt): Finds unique elements in a 1-D tensor.

[`unravel_index(...)`](https://www.tensorflow.org/api_docs/python/tf/unravel_index.md.txt): Converts an array of flat indices into a tuple of coordinate arrays.

[`unsorted_segment_max(...)`](https://www.tensorflow.org/api_docs/python/tf/math/unsorted_segment_max.md.txt): Computes the maximum along segments of a tensor.

[`unsorted_segment_mean(...)`](https://www.tensorflow.org/api_docs/python/tf/math/unsorted_segment_mean.md.txt): Computes the mean along segments of a tensor.

[`unsorted_segment_min(...)`](https://www.tensorflow.org/api_docs/python/tf/math/unsorted_segment_min.md.txt): Computes the minimum along segments of a tensor.

[`unsorted_segment_prod(...)`](https://www.tensorflow.org/api_docs/python/tf/math/unsorted_segment_prod.md.txt): Computes the product along segments of a tensor.

[`unsorted_segment_sqrt_n(...)`](https://www.tensorflow.org/api_docs/python/tf/math/unsorted_segment_sqrt_n.md.txt): Computes the sum along segments of a tensor divided by the sqrt(N).

[`unsorted_segment_sum(...)`](https://www.tensorflow.org/api_docs/python/tf/math/unsorted_segment_sum.md.txt): Computes the sum along segments of a tensor.

[`unstack(...)`](https://www.tensorflow.org/api_docs/python/tf/unstack.md.txt): Unpacks the given dimension of a rank-`R` tensor into rank-`(R-1)` tensors.

[`variable_axis_size_partitioner(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variable_axis_size_partitioner.md.txt): Get a partitioner for VariableScope to keep shards below `max_shard_bytes`.

[`variable_creator_scope(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variable_creator_scope.md.txt): Scope which defines a variable creation function to be used by variable().

[`variable_op_scope(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variable_op_scope.md.txt): Deprecated: context manager for defining an op that creates variables.

[`variables_initializer(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/variables_initializer.md.txt): Returns an Op that initializes a list of variables.

[`vectorized_map(...)`](https://www.tensorflow.org/api_docs/python/tf/vectorized_map.md.txt): Parallel map on the list of tensors unpacked from `elems` on dimension 0.

[`verify_tensor_all_finite(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/verify_tensor_all_finite.md.txt): Assert that the tensor does not contain any NaN's or Inf's.

[`where(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/where.md.txt): Return the elements, either from `x` or `y`, depending on the `condition`.

[`where_v2(...)`](https://www.tensorflow.org/api_docs/python/tf/where.md.txt): Returns the indices of non-zero elements, or multiplexes `x` and `y`.

[`while_loop(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/while_loop.md.txt): Repeat `body` while the condition `cond` is true.

[`wrap_function(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/wrap_function.md.txt): Wraps the TF 1.x function fn into a graph function.

[`write_file(...)`](https://www.tensorflow.org/api_docs/python/tf/io/write_file.md.txt): Writes `contents` to the file at input `filename`.

[`zeros(...)`](https://www.tensorflow.org/api_docs/python/tf/zeros.md.txt): Creates a tensor with all elements set to zero.

[`zeros_like(...)`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/zeros_like.md.txt): Creates a tensor with all elements set to zero.

[`zeta(...)`](https://www.tensorflow.org/api_docs/python/tf/math/zeta.md.txt): Compute the Hurwitz zeta function \\(\\zeta(x, q)\\).

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| AUTO_REUSE | `<_ReuseMode.AUTO_REUSE: 1>` <br /> When passed in as the value for the `reuse` flag, `AUTO_REUSE` indicates that get_variable() should create the requested variable if it doesn't exist or, if it does exist, simply return it. |
| COMPILER_VERSION | `'Clang 18.1.8'` |
| CXX11_ABI_FLAG | `1` |
| CXX_VERSION | `201703` |
| GIT_VERSION | `'v2.21.0-rc1-5-ga481b10260d'` |
| GRAPH_DEF_VERSION | `2474` |
| GRAPH_DEF_VERSION_MIN_CONSUMER | `0` |
| GRAPH_DEF_VERSION_MIN_PRODUCER | `0` |
| MONOLITHIC_BUILD | `0` |
| QUANTIZED_DTYPES | <br /> ```python { tf.qint16, tf.qint16_ref, tf.qint32, tf.qint32_ref, tf.qint8, tf.qint8_ref, tf.quint16, tf.quint16_ref, tf.quint8, tf.quint8_ref } ``` <br /> |
| VERSION | `'2.21.0'` |
| bfloat16 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 16-bit bfloat (brain floating point). |
| bool | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Boolean. |
| complex128 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 128-bit complex. |
| complex64 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 64-bit complex. |
| double | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 64-bit (double precision) floating-point. |
| float16 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 16-bit (half precision) floating-point. |
| float32 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 32-bit (single precision) floating-point. |
| float64 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 64-bit (double precision) floating-point. |
| half | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> 16-bit (half precision) floating-point. |
| int16 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Signed 16-bit integer. |
| int32 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Signed 32-bit integer. |
| int64 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Signed 64-bit integer. |
| int8 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Signed 8-bit integer. |
| newaxis | `None` |
| qint16 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Signed quantized 16-bit integer. |
| qint32 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> signed quantized 32-bit integer. |
| qint8 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Signed quantized 8-bit integer. |
| quint16 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Unsigned quantized 16-bit integer. |
| quint8 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Unsigned quantized 8-bit integer. |
| resource | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Handle to a mutable, dynamically allocated resource. |
| string | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Variable-length string, represented as byte array. |
| uint16 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Unsigned 16-bit (word) integer. |
| uint32 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Unsigned 32-bit (dword) integer. |
| uint64 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Unsigned 64-bit (qword) integer. |
| uint8 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Unsigned 8-bit (byte) integer. |
| variant | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType.md.txt) <br /> Data of arbitrary type (known at runtime). |

<br />