Update modeling_super_linear.py
Browse files451 unmodified lines45245345445545545645745845946046146246346410 unmodified lines475476477478479480481482483451 unmodified lines x = x_enc.permute(0, 2, 1) B, V, L = x.shape else: x = x_enc x = x_enc B, L = x.shape V = 1 x = x.reshape(B * V, L) print("RAZ") print(x.shape) expert_probs = None 10 unmodified lines outputs.append(ar_out) ar_x = torch.cat([ar_x, ar_out], dim=1)[:, -self.seq_len:] out = torch.cat(outputs, dim=1)[:, :self.inf_pred_len] print(F"out1 :{out.shape}") out = out.reshape(B, V, out.shape[-1]) print(F"out2 :{out.shape}") result = out.permute(0, 2, 1) if get_prob:modeling_super_linear.py+5-1