# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Topologically sort the smallest region spanning *new_nodes* and their inputs.

    After bucketing inserts *new_nodes*, some *new_nodes_inputs* may sit after
    the new collective in the linked list.  This sorts just the affected
    region so every input precedes its consumer.

    Complexity: O(D) where D = distance between the farthest input and
    new_nodes in the linked list.  No full-graph enumeration.
    
=== parse google
short_description: 'Topologically sort the smallest region spanning *new_nodes* and their inputs.'
long_description: |
  After bucketing inserts *new_nodes*, some *new_nodes_inputs* may sit after
  the new collective in the linked list.  This sorts just the affected
  region so every input precedes its consumer.
  
  Complexity: O(D) where D = distance between the farthest input and
  new_nodes in the linked list.  No full-graph enumeration.
blank_after_short_description: True
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
Topologically sort the smallest region spanning *new_nodes* and their inputs.

After bucketing inserts *new_nodes*, some *new_nodes_inputs* may sit after
the new collective in the linked list.  This sorts just the affected
region so every input precedes its consumer.

Complexity: O(D) where D = distance between the farthest input and
new_nodes in the linked list.  No full-graph enumeration.
