def reset_params_skorch(regressor):
    """
    Simple helper function that manually resets the parameters in each layer of a
    skorch regressor model.

    Parameters
    ----------
    regressor : skorch.NeuralNetRegressor

        The neural net regressor (wrapped PyTorch model) that parameters must be
        reset (in place) for.

    returns  : None
    """
    regressor.get_params()["module"].zero_grad()
    for layer in regressor.get_params()["module"].children():
        if hasattr(layer, 'reset_parameters'):
            layer.reset_parameters()
    return None