Update modeling_super_linear.py
Browse files474 unmodified lines475476477478479480481482483484474 unmodified linesoutputs.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:expert_probs = expert_probs.reshape(B, V, expert_probs.shape[-1])474 unmodified lines475476477478479480481482483484485486487488474 unmodified linesoutputs.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 = outelse: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