razmars commited on
Commit
9627b54
·
verified ·
1 Parent(s): 519d3cf

Update modeling_super_linear.py

Browse files
Files changed (1) hide show
  1. modeling_super_linear.py +1 -1
modeling_super_linear.py CHANGED
@@ -226,7 +226,7 @@ class RLinear(nn.Module):
226
 
227
  self.zero_shot_Linear = new_W # shape (self.horizon, new_lookback)
228
  else:
229
- W = self.Linear.weight.detach
230
  print(W.shape)
231
  W_3d = W.t().unsqueeze(0)
232
  print(W_3d.shape)
 
226
 
227
  self.zero_shot_Linear = new_W # shape (self.horizon, new_lookback)
228
  else:
229
+ W = self.Linear.weight.detach()
230
  print(W.shape)
231
  W_3d = W.t().unsqueeze(0)
232
  print(W_3d.shape)