SYMBOL INDEX (80 symbols across 15 files) FILE: download.py function _print_download_progress (line 28) | def _print_download_progress(count, block_size, total_size): function download (line 50) | def download(base_url, filename, download_dir): function maybe_download_and_extract (line 80) | def maybe_download_and_extract(url, download_dir): FILE: get_data.py function get_mnist_data (line 11) | def get_mnist_data(url, data_dir): function get_datasets (line 15) | def get_datasets(): FILE: main.py function load_datasets (line 28) | def load_datasets(args): class Continuum (line 38) | class Continuum: method __init__ (line 40) | def __init__(self, data, args): method __iter__ (line 73) | def __iter__(self): method next (line 76) | def next(self): method __next__ (line 79) | def __next__(self): function eval_tasks (line 98) | def eval_tasks(model, tasks, args): function life_experience (line 129) | def life_experience(model, continuum, x_te, args): FILE: metrics/metrics.py function task_changes (line 14) | def task_changes(result_t): function confusion_matrix (line 26) | def confusion_matrix(result_t, result_a, fname=None): FILE: model/common.py function Xavier (line 16) | def Xavier(m): class MLP (line 25) | class MLP(nn.Module): method __init__ (line 26) | def __init__(self, sizes): method forward (line 38) | def forward(self, x): function conv3x3 (line 42) | def conv3x3(in_planes, out_planes, stride=1): class BasicBlock (line 47) | class BasicBlock(nn.Module): method __init__ (line 50) | def __init__(self, in_planes, planes, stride=1): method forward (line 65) | def forward(self, x): class ResNet (line 73) | class ResNet(nn.Module): method __init__ (line 74) | def __init__(self, block, num_blocks, num_classes, nf): method _make_layer (line 86) | def _make_layer(self, block, planes, num_blocks, stride): method forward (line 94) | def forward(self, x): function ResNet18 (line 107) | def ResNet18(nclasses, nf=20): FILE: model/eralg4.py class Net (line 24) | class Net(nn.Module): method __init__ (line 25) | def __init__(self, method forward (line 52) | def forward(self, x, t): method getBatch (line 57) | def getBatch(self,x,y,t): method observe (line 90) | def observe(self, x, t, y): FILE: model/eralg5.py class Net (line 24) | class Net(nn.Module): method __init__ (line 25) | def __init__(self, method forward (line 51) | def forward(self, x, t): method getBatch (line 55) | def getBatch(self,x,y,t): method observe (line 88) | def observe(self, x, t, y): FILE: model/ewc.py class Net (line 15) | class Net(torch.nn.Module): method __init__ (line 17) | def __init__(self, method compute_offsets (line 58) | def compute_offsets(self, task): method forward (line 67) | def forward(self, x, t): method observe (line 78) | def observe(self, x, t, y): FILE: model/gem.py function compute_offsets (line 22) | def compute_offsets(task, nc_per_task, is_cifar): function store_grad (line 36) | def store_grad(pp, grads, grad_dims, tid): function overwrite_grad (line 55) | def overwrite_grad(pp, newgrad, grad_dims): function project2cone2 (line 74) | def project2cone2(gradient, memories, margin=0.5): class Net (line 96) | class Net(nn.Module): method __init__ (line 97) | def __init__(self, method forward (line 147) | def forward(self, x, t): method observe (line 159) | def observe(self, x, t, y): FILE: model/independent.py class Net (line 14) | class Net(torch.nn.Module): method __init__ (line 16) | def __init__(self, method forward (line 53) | def forward(self, x, t): method observe (line 66) | def observe(self, x, t, y): FILE: model/meralg1.py class Net (line 25) | class Net(nn.Module): method __init__ (line 26) | def __init__(self, method forward (line 58) | def forward(self, x, t): method getBatch (line 62) | def getBatch(self,x,y,t): method observe (line 93) | def observe(self, x, t, y): FILE: model/meralg6.py class Net (line 26) | class Net(nn.Module): method __init__ (line 27) | def __init__(self, method forward (line 56) | def forward(self, x, t): method getBatch (line 60) | def getBatch(self,x,y,t): method observe (line 93) | def observe(self, x, t, y): FILE: model/meralg7.py class Net (line 28) | class Net(nn.Module): method __init__ (line 29) | def __init__(self, method forward (line 61) | def forward(self, x, t): method getBatch (line 65) | def getBatch(self,x,y,t): method observe (line 104) | def observe(self, x, t, y): FILE: model/online.py class Net (line 13) | class Net(torch.nn.Module): method __init__ (line 15) | def __init__(self, method compute_offsets (line 47) | def compute_offsets(self, task): method forward (line 56) | def forward(self, x, t): method observe (line 67) | def observe(self, x, t, y): FILE: model/taskinput.py function reset_bias (line 13) | def reset_bias(m): class Net (line 17) | class Net(nn.Module): method __init__ (line 18) | def __init__(self, method forward (line 59) | def forward(self, x, t): method observe (line 75) | def observe(self, x, t, y):