maybe_get_next_module
-
class torch.ao.quantization.fx.utils.maybe_get_next_module(node, modules, target_module_type=None, target_functional_type=None)[исходный код] -
Получает следующий модуль, соответствующий требуемому типу is_target_module_type, если он существует
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.ao.quantization.fx.utils.maybe_get_next_module.html