![]() |
Belle II Software prerelease-10-00-00a
|


Public Member Functions | |
| __init__ (self) | |
| Constructor. | |
| init_weights (self) | |
| Initialize. | |
| forward (self, z, y) | |
| forward | |
Public Attributes | |
| ch = G_ch | |
| Channel width multiplier. | |
| G_depth = G_depth | |
| Number of resblocks per stage. | |
| dim_z = dim_z | |
| Dimensionality of the latent space. | |
| bottom_width = bottom_width | |
| The initial spatial dimensions. | |
| H_base = H_base | |
| The initial harizontal dimension. | |
| resolution = resolution | |
| Resolution of the output. | |
| kernel_size = G_kernel_size | |
| Kernel size? | |
| attention = G_attn | |
| Attention? | |
| n_classes = n_classes | |
| number of classes, for use in categorical conditional generation | |
| G_shared = G_shared | |
| Use shared embeddings? | |
| int | shared_dim = shared_dim if shared_dim > 0 else dim_z |
| Dimensionality of the shared embedding? | |
| # y and z are[bs, 128] dimensional | hier = hier |
| Hierarchical latent space? | |
| cross_replica = cross_replica | |
| Cross replica batchnorm? | |
| mybn = mybn | |
| Use my batchnorm? | |
| activation = torch.nn.ReLU(inplace=True) | |
| activation | |
| str | init = G_init |
| Initialization style. | |
| str | G_param = G_param |
| Parameterization style. | |
| norm_style = norm_style | |
| Normalization style. | |
| BN_eps = BN_eps | |
| Epsilon for BatchNorm? | |
| SN_eps = SN_eps | |
| Epsilon for Spectral Norm? | |
| fp16 = G_fp16 | |
| fp16? | |
| arch = G_arch(self.ch, self.attention)[resolution] | |
| Architecture dict. | |
| RRM_prx_G = RRM_prx_G | |
| RRM_prx_G. | |
| n_head_G = n_head_G | |
| n_head_G | |
| which_conv | |
| which conv | |
| which_linear | |
| which linear | |
| which_embedding = nn.Embedding | |
| which embedding | |
| which_bn | |
| which bn | |
| tuple | shared |
| shared | |
| RR_G | |
| RRM on proxy embeddings. | |
| linear | |
| First linear layer. | |
| list | blocks = [] |
| blocks | |
| output_layer | |
| output layer | |
| lr = G_lr | |
| lr | |
| B1 = G_B1 | |
| B1. | |
| B2 = G_B2 | |
| B2. | |
| adam_eps = adam_eps | |
| adam_eps | |
| optim | |
| optim | |
| lr_sched = None | |
| lr sched | |
| int | param_count = 0 |
| parameter count | |
| __init__ | ( | self | ) |
|
inherited |
forward
Definition at line 1435 of file ieagan.py.
|
inherited |
Initialize.
Definition at line 1412 of file ieagan.py.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |