transformers/tests/models/tvp
BHUVAN M 3b9174f248
interpolation added for TVP. (#30863)
* Update TVP model to interpolate pre-trained image pad prompter encodings

* feat: Add 2D positional embeddings interpolation in TvpVisualInputEmbedding

* added required comments

* Update TVP model to interpolate pre-trained image pad prompter encodings

* feat: Add 2D positional embeddings interpolation in TvpVisualInputEmbedding

* added required comments

* docstring and argument fix

* doc fixes and test case fix suggested in review.

* varibale typo fix

* styling and name fixes for padding interpolation flag.
2024-06-07 18:44:16 +01:00
..
__init__.py TVP model (#25856) 2023-11-21 16:41:55 +00:00
test_image_processing_tvp.py TVP model (#25856) 2023-11-21 16:41:55 +00:00
test_modeling_tvp.py interpolation added for TVP. (#30863) 2024-06-07 18:44:16 +01:00