class documentation
class Uformer(nn.Module): (source)
Constructor: Uformer(img_size, in_chans, dd_in, embed_dim, ...)
Undocumented
Method | __init__ |
Undocumented |
Method | extra |
Undocumented |
Method | flops |
Undocumented |
Method | forward |
Undocumented |
Method | no |
Undocumented |
Method | no |
Undocumented |
Class Variable | hyperparameters |
Undocumented |
Instance Variable | conv |
Undocumented |
Instance Variable | dd |
Undocumented |
Instance Variable | decoderlayer |
Undocumented |
Instance Variable | decoderlayer |
Undocumented |
Instance Variable | decoderlayer |
Undocumented |
Instance Variable | decoderlayer |
Undocumented |
Instance Variable | dowsample |
Undocumented |
Instance Variable | dowsample |
Undocumented |
Instance Variable | dowsample |
Undocumented |
Instance Variable | dowsample |
Undocumented |
Instance Variable | embed |
Undocumented |
Instance Variable | encoderlayer |
Undocumented |
Instance Variable | encoderlayer |
Undocumented |
Instance Variable | encoderlayer |
Undocumented |
Instance Variable | encoderlayer |
Undocumented |
Instance Variable | input |
Undocumented |
Instance Variable | mlp |
Undocumented |
Instance Variable | mlp |
Undocumented |
Instance Variable | num |
Undocumented |
Instance Variable | num |
Undocumented |
Instance Variable | output |
Undocumented |
Instance Variable | patch |
Undocumented |
Instance Variable | pos |
Undocumented |
Instance Variable | reso |
Undocumented |
Instance Variable | token |
Undocumented |
Instance Variable | upsample |
Undocumented |
Instance Variable | upsample |
Undocumented |
Instance Variable | upsample |
Undocumented |
Instance Variable | upsample |
Undocumented |
Instance Variable | win |
Undocumented |
Method | _init |
Undocumented |
def __init__(self, *, img_size=256, in_chans=3, dd_in=3, embed_dim=32, depths=[ 2, 2, 2, 2, 2, 2, 2, 2, 2], num_heads=[ 1, 2, 4, 8, 16, 16, 8, 4, 2], win_size=8, mlp_ratio=4.0, qkv_bias=True, qk_scale=None, drop_rate=0.0, attn_drop_rate=0.0, drop_path_rate=0.1, norm_layer=nn.LayerNorm, patch_norm=True, use_checkpoint=False, token_projection='linear', token_mlp='leff', dowsample=Downsample, upsample=Upsample, shift_flag=True, modulator=False, cross_modulator=False):
(source)
¶
Undocumented