class documentation
class DRCT(nn.Module): (source)
Constructor: DRCT(img_size, patch_size, in_chans, embed_dim, ...)
Undocumented
Method | __init__ |
Undocumented |
Method | forward |
Undocumented |
Method | forward |
Undocumented |
Method | no |
Undocumented |
Method | no |
Undocumented |
Class Variable | hyperparameters |
Undocumented |
Instance Variable | absolute |
Undocumented |
Instance Variable | ape |
Undocumented |
Instance Variable | conv |
Undocumented |
Instance Variable | conv |
Undocumented |
Instance Variable | conv |
Undocumented |
Instance Variable | conv |
Undocumented |
Instance Variable | embed |
Undocumented |
Instance Variable | img |
Undocumented |
Instance Variable | layers |
Undocumented |
Instance Variable | mean |
Undocumented |
Instance Variable | mlp |
Undocumented |
Instance Variable | norm |
Undocumented |
Instance Variable | num |
Undocumented |
Instance Variable | num |
Undocumented |
Instance Variable | patch |
Undocumented |
Instance Variable | patch |
Undocumented |
Instance Variable | patch |
Undocumented |
Instance Variable | patches |
Undocumented |
Instance Variable | pos |
Undocumented |
Instance Variable | shift |
Undocumented |
Instance Variable | upsample |
Undocumented |
Instance Variable | upsampler |
Undocumented |
Instance Variable | upscale |
Undocumented |
Instance Variable | window |
Undocumented |
Method | _init |
Undocumented |
def __init__(self, *, img_size=64, patch_size=1, in_chans=3, embed_dim=180, depths=( 6, 6, 6, 6, 6, 6), num_heads=( 6, 6, 6, 6, 6, 6), window_size=16, mlp_ratio=2.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, ape=False, patch_norm=True, upscale=1, img_range=1.0, upsampler='', resi_connection='1conv', gc=32):
(source)
¶
Undocumented