Update modeling_super_linear.py
Browse files597 unmodified lines598599600601601602603604597 unmodified lines x = x.unsqueeze(1) # [B, 1, L] upsample = interpolate(x, scale_factor=scale_factor, mode='linear') # [B, C, new_L] upsample = interpolate(x,size =target_len,scale_factor=scale_factor, mode='linear') # [B, C, new_L] # Take last 500 timesteps and rearrange to [B, L, C] if target_len < 512:modeling_super_linear.py+1-1