pytorch/text

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

オープン

#824 opened on 2020/06/11

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (822 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (3,396 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド