Update test_optimizer.py

This commit is contained in:
Godwin H 2023-04-01 02:13:17 +01:00 committed by GitHub
parent 103e56f17c
commit 4f8bf389d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import unittest import unittest
import torch import torch
from tml.optimizers.config import LearningRate, OptimizerConfig from tml.optimizers.config import LearningRate, OptimizerConfig
from .optimizer import compute_lr, LRShim, get_optimizer_class, build_optimizer from optimizer import compute_lr, LRShim, get_optimizer_class, build_optimizer
class TestComputeLR(unittest.TestCase): class TestComputeLR(unittest.TestCase):