Change the way tensor is reshaped in BartAttention (from .view to .reshape) #21860
Change the .view call to .reshape
9f60c524
Change the .view call to .reshape to all the copies from bart attention
e261cf78
Fix copies and style
92db0b99
Fix copies and style
78ebea9a
Fix copies and style
193b0232
Fix copies and style
30cdfc23
Fix copies and style
e45863f5
Revert unneccessary changes
a544c11a
Revert unneccessary changes
fa252a0c
Revert unneccessary changes
586f9683
Revert unneccessary changes
359fb840
sgugger
approved these changes
on 2023-03-01
sgugger
merged
ebd52589
into main 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub