Test mode dtypes in the ToDtype tests
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
Description
To ToDtype tests added in https://github.com/pytorch/vision/pull/7759 are limited to float32, float64 and uint8.
We support more conversion dtypes though, and we should make sure these code-paths are properly covered in the tests.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ToDtype tests added in pull request 7759 and review which conversion dtypes are currently covered. Extend the test coverage to the supported conversion dtypes described in the issue, then confirm that those code paths are exercised by the tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100