parameters: (
          self, tag_id: Optional[int] = None
      )
return_statement: return result
docstring: Builds reversed topological node dependencies, if tag_id is specified,
          we ignore nodes that are in later subgraph i.e. nodes have greater tag_id.
docstring_summary: Builds reversed topological node dependencies, if tag_id is specified,
          we ignore nodes that are in later subgraph i.e. nodes have greater tag_id.
docstring_tokens: Builds reversed topological node dependencies if tag_id is specified we ignore nodes that are in later subgraph i . e . nodes have greater tag_id .
function: def find_reverse_deps(
          self, tag_id: Optional[int] = None
      ) -> Dict[torch.fx.Node, NodeSet]:
          """
          Builds reversed topological node dependencies, if tag_id is specified,
          we ignore nodes that are in later subgraph i.e. nodes have greater tag_id.
          """
          result: Dict[torch.fx.Node, NodeSet] = defaultdict(set)
  
          for node in self.module.graph.nodes:
              if node.op not in CALLABLE_NODE_OPS:
                  continue
  
              for user in node.users:
                  if user.op not in CALLABLE_NODE_OPS:
                      continue
  
                  if tag_id is None or (int(user.tag.split("_")[-1]) < tag_id):
                      result[node].add(user)
  
          return result
function_tokens: def find_reverse_deps ( self , tag_id : Optional [ int ] = None ) -> Dict [ torch . fx . Node , NodeSet ] : result : Dict [ torch . fx . Node , NodeSet ] = defaultdict ( set ) for node in self . module . graph . nodes : if node . op not in CALLABLE_NODE_OPS : continue for user in node . users : if user . op not in CALLABLE_NODE_OPS : continue if tag_id is None or ( int ( user . tag . split ( "_" ) [ - 1 ] ) < tag_id ) : result [ node ] . add ( user ) return result