pytorch/text

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

Open

#824 建立於 2020年6月11日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (3,396 star) (822 fork)batch import
help wanted

描述

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

貢獻者指南