Update modeling_super_linear.py
Browse files346 unmodified lines347348349350350351352353165 unmodified lines519520521522522523524525526346 unmodified lines x_0 = x self.gate_outputs = self.gating_network(x_0) print(self.gate_outputs.shape) #print(self.gate_outputs.shape)
if not self.training: self.gate_outputs = self.gate_outputs / self.moe_temp165 unmodified lines x = x_enc.permute(0, 2, 1) B, V, L = x.shape else: x = x_enc x = x_enc x_enc = x_enc.unsqueeze(-1) B, L = x.shape V = 1
modeling_super_linear.py+3-2