Methodforward x, q(query), k(key), v(value) : (B(batch_size), S(seq_len), D(dim)) mask : (B(batch_size) x S(seq_len)) * split D(dim) into (
Si-blurry/utils/base_vit.py:263
MethodforwardBreaks image into patches, applies transformer, applies MLP head. Args: x (tensor): `b,c,fh,fw`
Si-blurry/utils/base_vit.py:475