I want to custom my cost function in tensorflow. However, I want to access to every elements of the tensor y_pred. To do that, I convert y_pred into numpy array. After I do