Update modeling_super_linear.py
Browse files475 unmodified lines476477478479480481482483484485486487488475 unmodified linesar_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])475 unmodified lines476477478479480481482483484485486487488489475 unmodified linesar_x = torch.cat([ar_x, ar_out], dim=1)[:, -self.seq_len:]out = torch.cat(outputs, dim=1)[:, :self.inf_pred_len]if len(x_enc.shape) > 2:out = out.reshape(B, V, out.shape[-1])print(F"out2 :{out.shape}")result = out.permute(0, 2, 1)else:print(F"out1 :{out.shape}")result = outif get_prob:expert_probs = expert_probs.reshape(B, V, expert_probs.shape[-1])
modeling_super_linear.py+4-3