Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help Want] Switch from common.torchtext_test_case.TorchtextTestCase to torch.testing._internal.common_utils.TestCase #824

Open
zhangguanheng66 opened this issue Jun 11, 2020 · 2 comments

Comments

@zhangguanheng66
Copy link
Contributor

zhangguanheng66 commented Jun 11, 2020

TestCase.assertEqual supports torch.tensor. Here are a few files required to change:

  • test/*.py
  • test/data/test_*.py

Link example PRs: #822 and #823

@rmz59
Copy link
Contributor

rmz59 commented Jun 12, 2020

i'll try to work on them.

@zhangguanheng66
Copy link
Contributor Author

Thanks @z-Runmin , actually the pr #822 is almost ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants