Update modeling_super_linear.py
Browse files222 unmodified lines2232242252262272282292302312322332 unmodified lines236237238239240241222 unmodified linesalign_corners=False)[0, 0] # drop the two singleton dimsprint(new_W.shape)self.zero_shot_Linear = new_W # shape (self.horizon, new_lookback)def forward(self, x):# x: [Batch, Input length,Channel]x_shape = x.shape2 unmodified lines#print(F"new Lookkback : {x.shape[1]}")self.transform_model(x.shape[1],3)x = x.clone()#x = x * (x.shape[1]/512)x = self.revin_layer(x, 'norm')222 unmodified lines2232242252262272282292302312322 unmodified lines235236237238239240241222 unmodified linesalign_corners=False)[0, 0] # drop the two singleton dimsself.zero_shot_Linear = new_W # shape (self.horizon, new_lookback)def forward(self, x):# x: [Batch, Input length,Channel]x_shape = x.shape2 unmodified lines#print(F"new Lookkback : {x.shape[1]}")self.transform_model(x.shape[1],3)x = x.clone()#x = x * (x.shape[1]/512)x = self.revin_layer(x, 'norm')
modeling_super_linear.py+2-2