Files
HuggingFace_transformer/tests
Francesco Saverio Zuppichini 667b823b89 Swin support for any input size (#15986)
* padding done

* correctly return one attention per layer

* almost correct, attentions are not flatten one tuple per stage

* tests green

* doc

* conversations

* reshaping hidden_states

* view in the test

* reshape_hidden_states in Encoder and Model

* new outputs with reshaped_hidden_states

* conversations

* doc

* Update docs/source/model_doc/swin.mdx

Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com>

* conversations

* fix tests

* minor changes

* resolved conversations

* attentions one per stage

* typo

* typos

* typos

* function signature

* CI

* clean up tests

Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com>
2022-03-16 18:38:25 +01:00
..
2022-03-09 19:53:01 +01:00
2022-03-01 11:09:20 +01:00
2022-03-03 11:03:24 -05:00
2022-01-24 15:25:10 -05:00
2022-03-16 15:44:33 +00:00
2022-03-08 10:49:30 +01:00
2022-03-10 19:41:56 +01:00
2022-03-09 15:51:56 +01:00
2022-03-14 19:57:55 +01:00
2022-03-16 15:44:33 +00:00