Skip to content

Commit d4ad0eb

Browse files
fix linting
1 parent 107c6b6 commit d4ad0eb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

reference_algorithms/paper_baselines/momentum/jax/submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Submission file for a SGD with HeavyBall momentum optimizer in Jax."""
22

33
import functools
4-
from typing import Callable, Dict, Iterator, List, Tuple, Any
4+
from typing import Any, Callable, Dict, Iterator, List, Tuple
55

66
from flax import jax_utils
77
import jax

reference_algorithms/paper_baselines/momentum/pytorch/submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Submission file for a SGD with HeavyBall momentum optimizer in PyTorch."""
22

3-
from typing import Callable, Dict, Iterator, List, Tuple, Any
3+
from typing import Any, Callable, Dict, Iterator, List, Tuple
44

55
from absl import logging
66
import optax

reference_algorithms/paper_baselines/nesterov/jax/submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Submission file for a SGD with Nesterov momentum optimizer in Jax."""
22

33
import functools
4-
from typing import Callable, Dict, Iterator, List, Tuple, Any
4+
from typing import Any, Callable, Dict, Iterator, List, Tuple
55

66
from flax import jax_utils
77
import jax

reference_algorithms/paper_baselines/nesterov/pytorch/submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Submission file for a SGD with Nesterov momentum optimizer in PyTorch."""
22

3-
from typing import Callable, Dict, Iterator, List, Tuple, Any
3+
from typing import Any, Callable, Dict, Iterator, List, Tuple
44

55
from absl import logging
66
import optax

reference_algorithms/paper_baselines/sam/pytorch/submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Submission file for a SAM optimizer with warmup+cosine LR in PyTorch."""
22

3-
from typing import Callable, Dict, Iterator, List, Tuple, Any
3+
from typing import Any, Callable, Dict, Iterator, List, Tuple
44

55
from absl import logging
66
import torch

0 commit comments

Comments
 (0)