## PyTorch helper function

### freeze_selected_param

> freeze_selected_param(model, target)

Freeze the weights which have selected names

``` python
freeze_list = ['bn1', 'bn2', 'fc']
freeze_selected_param(model, target=freeze_list)
```

### get_important_param_idx

> get_important_param_idx(model, ratio, inverse=False)

Get important parameter indices

``` python
idx = self.get_important_param_idx(model, 0.1)
```
