Module: tf.compat.v1.keras.backend

Public API for tf.keras.backend namespace.

Classes

class name_scope: A context manager for use when defining a Python op.

Functions

clear_session(...): Resets all state generated by Keras.

epsilon(...): Returns the value of the fuzz factor used in numeric expressions.

floatx(...): Returns the default float type, as a string.

get_session(...): Returns the TF session to be used by the backend.

get_uid(...): Associates a string prefix with an integer counter in a TensorFlow graph.

image_data_format(...): Returns the default image data format convention.

is_keras_tensor(...): Returns whether x is a Keras tensor.

reset_uids(...): Resets graph identifiers.

rnn(...): Iterates over the time dimension of a tensor.

set_epsilon(...): Sets the value of the fuzz factor used in numeric expressions.

set_floatx(...): Sets the default float type.

set_image_data_format(...): Sets the value of the image data format convention.

set_session(...): Sets the global TensorFlow session.