torchdms.cli.restrict_dict_to_params

torchdms.cli.restrict_dict_to_params(d_to_restrict, cmd)[source]

Restrict the given dictionary to the names of parameters for cmd.