Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 250 Bytes

File metadata and controls

15 lines (10 loc) · 250 Bytes

Testing

Use our test class and test runner:

from torch.testing._internal.common_utils import run_tests, TestCase

class TestFeature(TestCase):
    ...

if __name__ == "__main__":
    run_tests()

To test Tensor equality, use assertEqual.