pytorch / pytorch/vision

Test mode dtypes in the ToDtype tests

Open
#7,767 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.