shape is just an attribute, not a method. Just use y_pred.shape (no parentheses).
shape
y_pred.shape
(The error message isn't telling you that y_pred is a tuple, it's telling you that y_pred.shape is a tuple.)
y_pred