# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

    This returns a dict that maps managed parameter to its FQN for the given
    ``module_to_wrap``. The dict's keys are exactly the parameters that would
    be managed by the module, where this is achieved by calling this function
    on the modules to wrap in reverse topological order, destructively updating
    ``visited_modules``, and not traversing into those modules. The FQNs are
    prefixed from the root (via ``root_prefix``) to be more informative.

    NOTE: This function is meant to be called pre-wrapping and iteratively in
    reverse topological order to cover the full module tree. This differs from
    the ``_get_param_to_fqn()`` function meant to be called post-wrapping and
    on the full module tree in one shot. Given those differences, we do not try
    to unify the two.
    
=== parse google
short_description: |
  This returns a dict that maps managed parameter to its FQN for the given
  ``module_to_wrap``. The dict's keys are exactly the parameters that would
  be managed by the module, where this is achieved by calling this function
  on the modules to wrap in reverse topological order, destructively updating
  ``visited_modules``, and not traversing into those modules. The FQNs are
  prefixed from the root (via ``root_prefix``) to be more informative.
long_description: |
  NOTE: This function is meant to be called pre-wrapping and iteratively in
  reverse topological order to cover the full module tree. This differs from
  the ``_get_param_to_fqn()`` function meant to be called post-wrapping and
  on the full module tree in one shot. Given those differences, we do not try
  to unify the two.
blank_after_short_description: True
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
This returns a dict that maps managed parameter to its FQN for the given
``module_to_wrap``. The dict's keys are exactly the parameters that would
be managed by the module, where this is achieved by calling this function
on the modules to wrap in reverse topological order, destructively updating
``visited_modules``, and not traversing into those modules. The FQNs are
prefixed from the root (via ``root_prefix``) to be more informative.

NOTE: This function is meant to be called pre-wrapping and iteratively in
reverse topological order to cover the full module tree. This differs from
the ``_get_param_to_fqn()`` function meant to be called post-wrapping and
on the full module tree in one shot. Given those differences, we do not try
to unify the two.
