Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.keras.backend.get_value

tf.keras.backend.get_value(x)

Defined in tensorflow/python/keras/backend.py.

Returns the value of a variable.

Arguments:

  • x: input variable.

Returns:

A Numpy array.

Raises:

  • RuntimeError: If this method is called inside defun.