Update modeling_super_linear.py
Browse files603 unmodified lines604605606607607608609610603 unmodified lines if target_len < 512: upsample = upsample.permute(0, 2, 1) else: upsample = upsample.permute(0, 2, 1)[:, -target_len:, :] upsample = upsample.permute(0, 2, 1) # If input was 2D, remove the channel dimension if x.shape[1] == 1:modeling_super_linear.py+1-1