How can I convert a tensor to Numpy without using TF 1.0 combability, Session or run_eagerly=True? I am trying to manipulate y_pred tensor in custom metrics in Keras.