jaxrts.helpers.invert_dict

jaxrts.helpers.invert_dict(dictionary: dict) dict[source]

Invert a dictionary, so that it’s keys become values, and the values are the keys of the returned dict.