Belle II Software development
|
Public Member Functions | |
def | __init__ (self, chan, chan_out=None, kernel_size=1, padding=0, stride=1, key_dim=32, value_dim=64, heads=8, norm_queries=True) |
Constructor. | |
def | forward (self, x, context=None) |
forward | |
Public Attributes | |
chan | |
chan | |
key_dim | |
key dimension | |
value_dim | |
value dimension | |
heads | |
heads | |
norm_queries | |
norm queries | |
to_q | |
q | |
to_k | |
k | |
to_v | |
v | |
to_out | |
to out | |
def __init__ | ( | self, | |
chan, | |||
chan_out = None , |
|||
kernel_size = 1 , |
|||
padding = 0 , |
|||
stride = 1 , |
|||
key_dim = 32 , |
|||
value_dim = 64 , |
|||
heads = 8 , |
|||
norm_queries = True |
|||
) |
Constructor.
Definition at line 613 of file ieagan.py.
def forward | ( | self, | |
x, | |||
context = None |
|||
) |
forward
Definition at line 655 of file ieagan.py.