Run 3 commands below when you prepare your PR
nbdev_build_lib
nbdev_build_docs —fname {path the to file}
nbdev_clean_nbs
class OurTST(Module): | |
def __init__(self, c_in, c_out, d_model, seq_len, n_layers, drop_out, fc_dropout): | |
self.c_in, self.c_out, self.seq_len = c_in, c_out, seq_len | |
self.W_P = nn.Linear(c_in, d_model) | |
# Positional encoding | |
W_pos = torch.empty((seq_len, d_model), device=default_device()) | |
nn.init.uniform_(W_pos, -0.02, 0.02) | |
self.W_pos = nn.Parameter(W_pos, requires_grad=True) |
Run 3 commands below when you prepare your PR
nbdev_build_lib
nbdev_build_docs —fname {path the to file}
nbdev_clean_nbs
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |