Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.get_value

TensorFlow 2.0 version 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)

Arguments:

  • x: input variable.

Returns:

A Numpy array.