torch.fx.experimental.unification.utils.transitive_get
-
torch.fx.experimental.unification.utils.transitive_get(key, d)[исходный код] -
Транзитивный dict.get >>> d = {1: 2, 2: 3, 3: 4} >>> d.get(1) 2 >>> transitive_get(1, d) 4
- Тип возвращаемого значения:
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.fx.experimental.unification.utils.transitive_get.html