Skip to content

Update modeling_cvt.py type hints#17846

Merged
Rocketknight1 merged 1 commit intohuggingface:mainfrom
F02934:CVT
Jun 23, 2022
Merged

Update modeling_cvt.py type hints#17846
Rocketknight1 merged 1 commit intohuggingface:mainfrom
F02934:CVT

Conversation

@F02934
Copy link
Copy Markdown
Contributor

@F02934 F02934 commented Jun 23, 2022

As shown in the colab notebook I added the missing type hints for " CvtForImageClassification
CvtModel
"

What does this PR do?

Add missing type hints for CTV pytorch. #16059 following this Colab notebook

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@Rocketknight1

As shown in the colab notebook I added the missing type hints for " CvtForImageClassification
CvtModel
"
@F02934 F02934 changed the title Update modeling_cvt.py Update modeling_cvt.py type hints Jun 23, 2022
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Jun 23, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Copy Markdown
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you!

@Rocketknight1 Rocketknight1 merged commit e70abda into huggingface:main Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants