Update modeling_super_linear.py
Browse files598 unmodified lines599600601602603604605598 unmodified linesx = x.unsqueeze(1) # [B, 1, L]upsample = = F.interpolate(x, size=target_len, mode='linear', align_corners=False)# If input was 2D, remove the channel dimensionif size == 2:598 unmodified lines599600601602603604605598 unmodified linesx = x.unsqueeze(1) # [B, 1, L]upsample = F.interpolate(x, size=target_len, mode='linear', align_corners=False)# If input was 2D, remove the channel dimensionif size == 2:
modeling_super_linear.py+1-1