Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.get_value

View source on GitHub

Returns the value of a variable.

Aliases:

  • tf.compat.v1.keras.backend.get_value
  • tf.compat.v2.keras.backend.get_value
tf.keras.backend.get_value(x)

Used in the guide:

Arguments:

  • x: input variable.

Returns:

A Numpy array.