For the FC weights, you can use view. For example, let old_fc6_weight be the fc6 weight loaded from the state_dict of the pre-trained model:
new_fc6_param.data = old_fc6_weight.view(new_fc6_param.size())