pytorch/text

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

Open

Aperta il 11 giu 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (3396 star) (822 fork)batch import
help wanted

Descrizione

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

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

Link example PRs: https://github.com/pytorch/text/pull/822 and https://github.com/pytorch/text/pull/823

Guida contributor