pytorch/text

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

开放

#824 创建于 2020年6月11日

 (2 条评论) (0 个反应) (0 位负责人)Python (822 个派生)batch import
help wanted

仓库指标

星标
 (3,396 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南