orbit.utils.get_value

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.