Update modeling_super_linear.py
Browse files474 unmodified lines475476477478479480481482479480481483484485486487488474 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}") if len(x_enc.shape) > 2: result = out else: out = out.reshape(B, V, out.shape[-1]) print(F"out2 :{out.shape}") result = out.permute(0, 2, 1) out = out.reshape(B, V, out.shape[-1]) print(F"out2 :{out.shape}") result = out.permute(0, 2, 1) if get_prob: expert_probs = expert_probs.reshape(B, V, expert_probs.shape[-1])modeling_super_linear.py+7-3