def METHOD_NAME(model, src_params):
    if 'state_dict' in src_params:
        src_params = src_params['state_dict']
    own_state = model.state_dict()
    filter_param(src_params, own_state)
    model.load_state_dict(own_state)