<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_net_kwargs(kwargs):
 """Parse arguments for the estimator. Resolves dotted names and instantiated classes. Examples -------- {'lr': 0.1, 'module__nonlin': Hardtanh(min_val=-2, max_val=3)} """

    if not kwargs:
        return kwargs

    resolved = {}
    for k, v in kwargs.items():
        resolved[k] = _resolve_dotted_name(v)

    return resolved