Files
TorchNPU/test/test_optim.py
T
yuhaiyan a10f57a49c !8912 Synchronize the different test cases for v2.2.0.
Merge pull request !8912 from yuhaiyan/master-dev1
2024-01-17 08:28:37 +00:00

14 lines
401 B
Python

# Owner(s): ["module: optimizer"]
from optim.test_optim import TestOptim, TestDifferentiableOptimizer # noqa: F401
from optim.test_lrscheduler import TestLRScheduler # noqa: F401
from optim.test_swa_utils import TestSWAUtils # noqa: F401
import torch
import torch_npu
import torch_npu.testing
from torch.testing._internal.common_utils import run_tests
if __name__ == '__main__':
run_tests()