Change the way tensor is reshaped in BartAttention (from .view to .reshape)
# What does this PR do?

Fixes #21813 
@younesbelkada For some reason fix-copies is not fixing the prophetnet copy, Not sure how to fix this.<|||||>_The documentation is not available anymore as the PR was closed or merged._<|||||>Hi @raghavanone !
Hum very weird, can you try to merge this branch with the `main` branch of `transformers` and see if this fixes the issue?<|||||>> Hi @raghavanone ! Hum very weird, can you try to merge this branch with the `main` branch of `transformers` and see if this fixes the issue?

Indeed weird, It is already on top of the latest main. Stranger thing is both of these checks pass on my machine.<|||||>Can you try `pip install --upgrade -e .["quality"]` + `make fixup`  + `make fix-copies` ?