SYMBOL INDEX (48 symbols across 8 files) FILE: mnist1d/data.py function get_dataset_args (line 11) | def get_dataset_args(as_dict=False): function get_templates (line 41) | def get_templates(): function make_dataset (line 64) | def make_dataset(args=None, template=None, ): function get_dataset (line 101) | def get_dataset(args, path=None, verbose=True, download=True, regenerate... FILE: mnist1d/transform.py function pad (line 11) | def pad(x, padding: tuple): function shear (line 35) | def shear(x, scale=10): function translate (line 41) | def translate(x, max_translation): function corr_noise_like (line 47) | def corr_noise_like(x, scale): function iid_noise_like (line 53) | def iid_noise_like(x, scale): function interpolate (line 59) | def interpolate(x, N): function transform (line 67) | def transform(x, y, args, eps=1e-8): FILE: mnist1d/utils.py function set_seed (line 10) | def set_seed(seed): function to_pickle (line 14) | def to_pickle(thing, path): # save something function from_pickle (line 19) | def from_pickle(path): # load something class ObjectView (line 25) | class ObjectView(object): method __init__ (line 26) | def __init__(self, d): self.__dict__ = d function plot_signals (line 29) | def plot_signals(xs, t, labels=None, args=None, ratio=2.6, do_transform=... FILE: notebooks/models.py class LinearBase (line 8) | class LinearBase(nn.Module): method __init__ (line 9) | def __init__(self, input_size, output_size): method count_params (line 14) | def count_params(self): method forward (line 17) | def forward(self, x): class MLPBase (line 20) | class MLPBase(nn.Module): method __init__ (line 21) | def __init__(self, input_size, output_size, hidden_size=100): method count_params (line 28) | def count_params(self): method forward (line 31) | def forward(self, x): class ConvBase (line 36) | class ConvBase(nn.Module): method __init__ (line 37) | def __init__(self, output_size, channels=25, linear_in=125): method count_params (line 45) | def count_params(self): method forward (line 48) | def forward(self, x, verbose=False): # the print statements are for de... class GRUBase (line 56) | class GRUBase(torch.nn.Module): method __init__ (line 57) | def __init__(self, input_size, output_size, hidden_size=6, time_steps=... method count_params (line 67) | def count_params(self): method forward (line 70) | def forward(self, x, h0=None): # assumes seq has [batch, time] FILE: notebooks/train.py function set_seed (line 14) | def set_seed(seed): function get_model_args (line 20) | def get_model_args(as_dict=False): function accuracy (line 36) | def accuracy(model, inputs, targets): function train_model (line 42) | def train_model(dataset, model, args): FILE: tests/test_data.py function tmpfile (line 10) | def tmpfile(): function test_get_templates (line 16) | def test_get_templates(): function test_make_dataset (line 30) | def test_make_dataset(): function test_get_dataset_args (line 50) | def test_get_dataset_args(): function test_get_dataset (line 55) | def test_get_dataset(tmpfile): FILE: tests/test_transform.py function tmpfile (line 12) | def tmpfile(): function test_padding (line 18) | def test_padding(tmpfile): FILE: tests/test_utils.py function tmpfile (line 13) | def tmpfile(): function test_seed_is_fixed (line 19) | def test_seed_is_fixed(): function test_pickle_roundtrip (line 28) | def test_pickle_roundtrip(tmpfile): function test_object_view (line 38) | def test_object_view():