mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update metaformers.py
This commit is contained in:
parent
7f149f31d4
commit
7aa3459caf
@ -17,6 +17,7 @@ MetaFormer baselines including IdentityFormer, RandFormer, PoolFormerV2,
|
||||
ConvFormer and CAFormer.
|
||||
Some implementations are modified from timm (https://github.com/rwightman/pytorch-image-models).
|
||||
"""
|
||||
from collections import OrderedDict
|
||||
from functools import partial
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
|
Loading…
x
Reference in New Issue
Block a user