mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Cleanup imports for vit relpos
This commit is contained in:
parent
ac1b08deb6
commit
59239d9df5
@ -7,7 +7,8 @@ Hacked together by / Copyright 2022, Ross Wightman
|
|||||||
import logging
|
import logging
|
||||||
import math
|
import math
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from typing import Any, Callable, Dict, Optional, Sequence, Set, Tuple, Type, Union, List
|
from typing import Optional, Tuple, Type, Union
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from typing import Literal
|
from typing import Literal
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user