torch.fx.experimental.unification.utils.transitive_get
- torch.fx.experimental.unification.utils.transitive_get(key, d)
Transitive dict.get >>> d = {1: 2, 2: 3, 3: 4} >>> d.get(1) 2 >>> transitive_get(1, d) 4
- Return type:
Transitive dict.get >>> d = {1: 2, 2: 3, 3: 4} >>> d.get(1) 2 >>> transitive_get(1, d) 4