Shortcuts

mmengine.registry.traverse_registry_tree

mmengine.registry.traverse_registry_tree(registry, verbose=True)[源代码]

Traverse the whole registry tree from any given node, and collect information of all registered modules in this registry tree.

参数:
  • registry (Registry) – a registry node in the registry tree.

  • verbose (bool) – Whether to print log. Defaults to True

返回:

Statistic results of all modules in each node of the registry tree.

返回类型:

list