Stay organized with collections Save and categorize content based on your preferences.

Returns input values, converting any TensorFlow values to NumPy values.

x The input. May be a tf.Tensor or tf.Variable.

If the input is a TensorFlow Tensor, returns the Tensor's equivalent NumPy value. Otherwise, just returns the input.