Update modeling_super_linear.py
Browse files226 unmodified lines227228229230230231232232233234234235236237226 unmodified lines self.zero_shot_Linear = new_W # shape (self.horizon, new_lookback) else: W = self.Linear.weight.detach() #print(W.shape) print(W.shape) W_3d = W.unsqueeze(0) #print(W_3d.shape) print(W_3d.shape) W_new = F.adaptive_avg_pool1d(W_3d, new_lookback).squeeze(0) #print(W_new.shape) print(W_new.shape) self.zero_shot_Linear = W_new modeling_super_linear.py+3-3