W3cubDocs

/TensorFlow 2.4

Module: tf.keras.backend

Keras backend API.

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_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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/keras/backend