SYMBOL INDEX (97 symbols across 7 files) FILE: dataset.py class MultiResolutionDataset (line 14) | class MultiResolutionDataset(Dataset): method __init__ (line 15) | def __init__(self, path, transform, resolution=256): method __len__ (line 34) | def __len__(self): method __getitem__ (line 37) | def __getitem__(self, index): function resize_and_convert (line 49) | def resize_and_convert(img, size, resample, quality=100): function resize_multiple (line 59) | def resize_multiple(img, sizes=(128, 256, 512, 1024), resample=Image.LAN... function resize_worker (line 68) | def resize_worker(img_file, sizes, resample): function prepare (line 77) | def prepare(env, dataset, n_worker, sizes=(128, 256, 512, 1024), resampl... FILE: model.py class PixelNorm (line 14) | class PixelNorm(nn.Module): method __init__ (line 15) | def __init__(self): method forward (line 18) | def forward(self, input): function make_kernel (line 22) | def make_kernel(k): class Upsample (line 33) | class Upsample(nn.Module): method __init__ (line 34) | def __init__(self, kernel, factor=2): method forward (line 48) | def forward(self, input): class Downsample (line 54) | class Downsample(nn.Module): method __init__ (line 55) | def __init__(self, kernel, factor=2): method forward (line 69) | def forward(self, input): class Blur (line 75) | class Blur(nn.Module): method __init__ (line 76) | def __init__(self, kernel, pad, upsample_factor=1): method forward (line 88) | def forward(self, input): class EqualConv2d (line 94) | class EqualConv2d(nn.Module): method __init__ (line 95) | def __init__( method forward (line 114) | def forward(self, input): method __repr__ (line 125) | def __repr__(self): class EqualLinear (line 132) | class EqualLinear(nn.Module): method __init__ (line 133) | def __init__( method forward (line 151) | def forward(self, input): method __repr__ (line 163) | def __repr__(self): class ScaledLeakyReLU (line 169) | class ScaledLeakyReLU(nn.Module): method __init__ (line 170) | def __init__(self, negative_slope=0.2): method forward (line 175) | def forward(self, input): class ModulatedConv2d (line 181) | class ModulatedConv2d(nn.Module): method __init__ (line 182) | def __init__( method __repr__ (line 230) | def __repr__(self): method forward (line 236) | def forward(self, input, style): class NoiseInjection (line 280) | class NoiseInjection(nn.Module): method __init__ (line 281) | def __init__(self): method forward (line 286) | def forward(self, image, noise=None): class ConstantInput (line 294) | class ConstantInput(nn.Module): method __init__ (line 295) | def __init__(self, channel, size=4): method forward (line 300) | def forward(self, input): class StyledConv (line 307) | class StyledConv(nn.Module): method __init__ (line 308) | def __init__( method forward (line 335) | def forward(self, input, style, noise=None): class ToRGB (line 344) | class ToRGB(nn.Module): method __init__ (line 345) | def __init__(self, in_channel, style_dim, upsample=True, blur_kernel=[... method forward (line 354) | def forward(self, input, style, skip=None): class Generator (line 366) | class Generator(nn.Module): method __init__ (line 367) | def __init__( method make_noise (line 452) | def make_noise(self): method mean_latent (line 463) | def mean_latent(self, n_latent): method get_latent (line 471) | def get_latent(self, input): method forward (line 474) | def forward( class ConvLayer (line 548) | class ConvLayer(nn.Sequential): method __init__ (line 549) | def __init__( class ResBlock (line 597) | class ResBlock(nn.Module): method __init__ (line 598) | def __init__(self, in_channel, out_channel, blur_kernel=[1, 3, 3, 1]): method forward (line 608) | def forward(self, input): class Discriminator (line 618) | class Discriminator(nn.Module): method __init__ (line 619) | def __init__(self, size, channel_multiplier=2, blur_kernel=[1, 3, 3, 1]): method forward (line 658) | def forward(self, input): class Encoder (line 679) | class Encoder(nn.Module): method __init__ (line 680) | def __init__(self, size, w_dim=512): method forward (line 712) | def forward(self, input): FILE: op/fused_act.py class FusedLeakyReLUFunctionBackward (line 20) | class FusedLeakyReLUFunctionBackward(Function): method forward (line 22) | def forward(ctx, grad_output, out, negative_slope, scale): method backward (line 43) | def backward(ctx, gradgrad_input, gradgrad_bias): class FusedLeakyReLUFunction (line 52) | class FusedLeakyReLUFunction(Function): method forward (line 54) | def forward(ctx, input, bias, negative_slope, scale): method backward (line 64) | def backward(ctx, grad_output): class FusedLeakyReLU (line 74) | class FusedLeakyReLU(nn.Module): method __init__ (line 75) | def __init__(self, channel, negative_slope=0.2, scale=2 ** 0.5): method forward (line 82) | def forward(self, input): function fused_leaky_relu (line 86) | def fused_leaky_relu(input, bias, negative_slope=0.2, scale=2 ** 0.5): FILE: op/fused_bias_act.cpp function fused_bias_act (line 11) | torch::Tensor fused_bias_act(const torch::Tensor& input, const torch::Te... function PYBIND11_MODULE (line 19) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: op/upfirdn2d.cpp function upfirdn2d (line 12) | torch::Tensor upfirdn2d(const torch::Tensor& input, const torch::Tensor&... function PYBIND11_MODULE (line 21) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: op/upfirdn2d.py class UpFirDn2dBackward (line 19) | class UpFirDn2dBackward(Function): method forward (line 21) | def forward( method backward (line 63) | def backward(ctx, gradgrad_input): class UpFirDn2d (line 88) | class UpFirDn2d(Function): method forward (line 90) | def forward(ctx, input, kernel, up, down, pad): method backward (line 127) | def backward(ctx, grad_output): function upfirdn2d (line 145) | def upfirdn2d(input, kernel, up=1, down=1, pad=(0, 0)): function upfirdn2d_native (line 159) | def upfirdn2d_native( FILE: train_encoder.py function data_sampler (line 25) | def data_sampler(dataset, shuffle): function requires_grad (line 33) | def requires_grad(model, flag=True): function sample_data (line 38) | def sample_data(loader): function d_logistic_loss (line 44) | def d_logistic_loss(real_pred, fake_pred): function d_r1_loss (line 51) | def d_r1_loss(real_pred, real_img): function g_nonsaturating_loss (line 60) | def g_nonsaturating_loss(fake_pred): class VGGLoss (line 66) | class VGGLoss(nn.Module): method __init__ (line 67) | def __init__(self, device, n_layers=5): method forward (line 89) | def forward(self, source, target): function train (line 100) | def train(args, loader, encoder, generator, discriminator, e_optim, d_op...