Method__init__(self, dim, n_heads, d_head, dropout=0., context_dim=None, gated_ff=True, checkpoint=True)
src/utils/attention.py:199
Method__init__(self, in_channels, n_heads, d_head,
depth=1, dropout=0., context_dim=None)
src/utils/attention.py:228