SYMBOL INDEX (44 symbols across 4 files) FILE: parameters.py function get_parameters (line 6) | def get_parameters(): FILE: sagan_models.py function init_weights (line 10) | def init_weights(m): function snconv2d (line 16) | def snconv2d(in_channels, out_channels, kernel_size, stride=1, padding=0... function snlinear (line 21) | def snlinear(in_features, out_features): function sn_embedding (line 25) | def sn_embedding(num_embeddings, embedding_dim): class Self_Attn (line 29) | class Self_Attn(nn.Module): method __init__ (line 32) | def __init__(self, in_channels): method forward (line 43) | def forward(self, x): class ConditionalBatchNorm2d (line 75) | class ConditionalBatchNorm2d(nn.Module): method __init__ (line 77) | def __init__(self, num_features, num_classes): method forward (line 86) | def forward(self, x, y): class GenBlock (line 93) | class GenBlock(nn.Module): method __init__ (line 94) | def __init__(self, in_channels, out_channels, num_classes): method forward (line 103) | def forward(self, x, labels): class Generator (line 121) | class Generator(nn.Module): method __init__ (line 124) | def __init__(self, z_dim, g_conv_dim, num_classes): method forward (line 144) | def forward(self, z, labels): class DiscOptBlock (line 161) | class DiscOptBlock(nn.Module): method __init__ (line 162) | def __init__(self, in_channels, out_channels): method forward (line 170) | def forward(self, x): class DiscBlock (line 185) | class DiscBlock(nn.Module): method __init__ (line 186) | def __init__(self, in_channels, out_channels): method forward (line 197) | def forward(self, x, downsample=True): class Discriminator (line 216) | class Discriminator(nn.Module): method __init__ (line 219) | def __init__(self, d_conv_dim, num_classes): method forward (line 237) | def forward(self, x, labels): FILE: trainer.py class Trainer (line 17) | class Trainer(object): method __init__ (line 19) | def __init__(self, config): method train (line 61) | def train(self): method build_models (line 278) | def build_models(self): method reset_grad (line 299) | def reset_grad(self): method get_real_samples (line 303) | def get_real_samples(self): method compute_gradient_penalty (line 313) | def compute_gradient_penalty(self, real_images, real_labels, fake_imag... FILE: utils.py function make_folder (line 16) | def make_folder(path): function denorm (line 21) | def denorm(x): function write_config_to_file (line 26) | def write_config_to_file(config, save_path): function copy_scripts (line 32) | def copy_scripts(dst): function make_transform (line 41) | def make_transform(resize=True, imsize=128, centercrop=False, centercrop... function make_dataloader (line 56) | def make_dataloader(batch_size, dataset_type, data_path, shuffle=True, d... function make_gif (line 85) | def make_gif(image, iteration_number, save_path, model_name, max_frames_... function make_plots (line 117) | def make_plots(G_losses, D_losses, D_losses_real, D_losses_fake, D_xs, D... function save_ckpt (line 148) | def save_ckpt(sagan_obj, model=False, final=False): function load_pretrained_model (line 189) | def load_pretrained_model(sagan_obj): function check_for_CUDA (line 224) | def check_for_CUDA(sagan_obj):