Update modeling_super_linear.py
Browse files447 unmodified lines448449450451452453454455456447 unmodified linesdef forward(self, x_enc, x_mark_enc=None, x_dec=None, x_mark_dec=None, mask=None, freq=[None], get_prob=False):print(x_enc.shape)x = x_enc.permute(0, 2, 1)B, V, L = x.shapex = x.reshape(B * V, L)expert_probs = None447 unmodified lines448449450451452453454455456457458459460461447 unmodified linesdef forward(self, x_enc, x_mark_enc=None, x_dec=None, x_mark_dec=None, mask=None, freq=[None], get_prob=False):if len(x_enc.shape) > 2:x = x_enc.permute(0, 2, 1)B, V, L = x.shapeelse:x = x_encB, L = x.shapeV = 1x = x.reshape(B * V, L)expert_probs = None
modeling_super_linear.py+8-3