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