mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
8 lines
163 B
Python
8 lines
163 B
Python
from typing import Callable, Tuple, Type, Union
|
|
|
|
import torch
|
|
|
|
|
|
LayerType = Union[str, Callable, Type[torch.nn.Module]]
|
|
PadType = Union[str, int, Tuple[int, int]]
|