torch.fx.experimental.unification.multipledispatch.utils.reverse_dict
- torch.fx.experimental.unification.multipledispatch.utils.reverse_dict(d)
Reverses direction of dependence dict.
>>> d = {"a": (1,
Reverses direction of dependence dict.
>>> d = {"a": (1,
OrderedDict[_T, tuple[_T, …]]