SYMBOL INDEX (83 symbols across 19 files) FILE: tutorials/01-basics/feedforward_neural_network/main.py class NeuralNet (line 38) | class NeuralNet(nn.Module): method __init__ (line 39) | def __init__(self, input_size, hidden_size, num_classes): method forward (line 45) | def forward(self, x): FILE: tutorials/01-basics/pytorch_basics/main.py class CustomDataset (line 137) | class CustomDataset(torch.utils.data.Dataset): method __init__ (line 138) | def __init__(self): method __getitem__ (line 142) | def __getitem__(self, index): method __len__ (line 148) | def __len__(self): FILE: tutorials/02-intermediate/bidirectional_recurrent_neural_network/main.py class BiRNN (line 40) | class BiRNN(nn.Module): method __init__ (line 41) | def __init__(self, input_size, hidden_size, num_layers, num_classes): method forward (line 48) | def forward(self, x): FILE: tutorials/02-intermediate/convolutional_neural_network/main.py class ConvNet (line 36) | class ConvNet(nn.Module): method __init__ (line 37) | def __init__(self, num_classes=10): method forward (line 51) | def forward(self, x): FILE: tutorials/02-intermediate/deep_residual_network/main.py function conv3x3 (line 49) | def conv3x3(in_channels, out_channels, stride=1): class ResidualBlock (line 54) | class ResidualBlock(nn.Module): method __init__ (line 55) | def __init__(self, in_channels, out_channels, stride=1, downsample=None): method forward (line 64) | def forward(self, x): class ResNet (line 78) | class ResNet(nn.Module): method __init__ (line 79) | def __init__(self, block, layers, num_classes=10): method make_layer (line 91) | def make_layer(self, block, out_channels, blocks, stride=1): method forward (line 104) | def forward(self, x): function update_lr (line 124) | def update_lr(optimizer, lr): FILE: tutorials/02-intermediate/language_model/data_utils.py class Dictionary (line 5) | class Dictionary(object): method __init__ (line 6) | def __init__(self): method add_word (line 11) | def add_word(self, word): method __len__ (line 17) | def __len__(self): class Corpus (line 21) | class Corpus(object): method __init__ (line 22) | def __init__(self): method get_data (line 25) | def get_data(self, path, batch_size=20): FILE: tutorials/02-intermediate/language_model/main.py class RNNLM (line 31) | class RNNLM(nn.Module): method __init__ (line 32) | def __init__(self, vocab_size, embed_size, hidden_size, num_layers): method forward (line 38) | def forward(self, x, h): function detach (line 59) | def detach(states): FILE: tutorials/02-intermediate/recurrent_neural_network/main.py class RNN (line 40) | class RNN(nn.Module): method __init__ (line 41) | def __init__(self, input_size, hidden_size, num_layers, num_classes): method forward (line 48) | def forward(self, x): FILE: tutorials/03-advanced/generative_adversarial_network/main.py function denorm (line 72) | def denorm(x): function reset_grad (line 76) | def reset_grad(): FILE: tutorials/03-advanced/image_captioning/build_vocab.py class Vocabulary (line 8) | class Vocabulary(object): method __init__ (line 10) | def __init__(self): method add_word (line 15) | def add_word(self, word): method __call__ (line 21) | def __call__(self, word): method __len__ (line 26) | def __len__(self): function build_vocab (line 29) | def build_vocab(json, threshold): function main (line 57) | def main(args): FILE: tutorials/03-advanced/image_captioning/data_loader.py class CocoDataset (line 13) | class CocoDataset(data.Dataset): method __init__ (line 15) | def __init__(self, root, json, vocab, transform=None): method __getitem__ (line 30) | def __getitem__(self, index): method __len__ (line 52) | def __len__(self): function collate_fn (line 56) | def collate_fn(data): function get_loader (line 87) | def get_loader(root, json, vocab, transform, batch_size, shuffle, num_wo... FILE: tutorials/03-advanced/image_captioning/model.py class EncoderCNN (line 7) | class EncoderCNN(nn.Module): method __init__ (line 8) | def __init__(self, embed_size): method forward (line 17) | def forward(self, images): class DecoderRNN (line 26) | class DecoderRNN(nn.Module): method __init__ (line 27) | def __init__(self, embed_size, hidden_size, vocab_size, num_layers, ma... method forward (line 35) | def forward(self, features, captions, lengths): method sample (line 44) | def sample(self, features, states=None): FILE: tutorials/03-advanced/image_captioning/resize.py function resize_image (line 6) | def resize_image(image, size): function resize_images (line 10) | def resize_images(image_dir, output_dir, size): function main (line 26) | def main(args): FILE: tutorials/03-advanced/image_captioning/sample.py function load_image (line 16) | def load_image(image_path, transform=None): function main (line 25) | def main(args): FILE: tutorials/03-advanced/image_captioning/train.py function main (line 17) | def main(args): FILE: tutorials/03-advanced/neural_style_transfer/main.py function load_image (line 15) | def load_image(image_path, transform=None, max_size=None, shape=None): class VGGNet (line 33) | class VGGNet(nn.Module): method __init__ (line 34) | def __init__(self): method forward (line 40) | def forward(self, x): function main (line 50) | def main(config): FILE: tutorials/03-advanced/variational_autoencoder/main.py class VAE (line 39) | class VAE(nn.Module): method __init__ (line 40) | def __init__(self, image_size=784, h_dim=400, z_dim=20): method encode (line 48) | def encode(self, x): method reparameterize (line 52) | def reparameterize(self, mu, log_var): method decode (line 57) | def decode(self, z): method forward (line 61) | def forward(self, x): FILE: tutorials/04-utils/tensorboard/logger.py class Logger (line 11) | class Logger(object): method __init__ (line 13) | def __init__(self, log_dir): method scalar_summary (line 17) | def scalar_summary(self, tag, value, step): method image_summary (line 22) | def image_summary(self, tag, images, step): method histo_summary (line 45) | def histo_summary(self, tag, values, step, bins=1000): FILE: tutorials/04-utils/tensorboard/main.py class NeuralNet (line 24) | class NeuralNet(nn.Module): method __init__ (line 25) | def __init__(self, input_size=784, hidden_size=500, num_classes=10): method forward (line 31) | def forward(self, x):