Update modeling_super_linear.py
Browse files190 unmodified lines1911921931941951961971981992006 unmodified lines207208209210211212213190 unmodified linesreturn x+seq_last # to [Batch, Output length, Channel]import torchimport torch.nn as nnimport torch.nn.functional as Fclass RLinear(nn.Module):"""6 unmodified linesself.horizon = output_len# bias=False because you asked to drop the biasself.linear = nn.Linear(input_len, output_len, bias=False)# your RevIN layer (must be defined elsewhere)self.revin = RevIN(num_features=None, affine=False,190 unmodified lines1911921931941951966 unmodified lines203204205206207208209190 unmodified linesreturn x+seq_last # to [Batch, Output length, Channel]class RLinear(nn.Module):"""6 unmodified linesself.horizon = output_len# bias=False because you asked to drop the biasself.linear = nn.Linear(input_len, output_len)# your RevIN layer (must be defined elsewhere)self.revin = RevIN(num_features=None, affine=False,
modeling_super_linear.py+1-5