parameters: (self, start: Optional[str] = None, end: Optional[str] = None)
docstring: Run part of the model from `start` node to `end` node. If `start` is None
          then we start from the beginning of the model. If `end` is None then we
          stop at the end of the model.
  
          Args:
              start: The name of the node which is the first node of the submodule
                  we want to run. If set to None, then we'll start with the first
                  node of the model.
              end: The name of the node which is the last node of the submodule we
                  want to run. If set to None, we'll end with the last node of the
                  model.
docstring_summary: Run part of the model from `start` node to `end` node. If `start` is None
          then we start from the beginning of the model. If `end` is None then we
          stop at the end of the model.
docstring_tokens: Run part of the model from start node to end node . If start is None then we start from the beginning of the model . If end is None then we stop at the end of the model .
function: def run_nodes(self, start: Optional[str] = None, end: Optional[str] = None):
          """
          Run part of the model from `start` node to `end` node. If `start` is None
          then we start from the beginning of the model. If `end` is None then we
          stop at the end of the model.
  
          Args:
              start: The name of the node which is the first node of the submodule
                  we want to run. If set to None, then we'll start with the first
                  node of the model.
              end: The name of the node which is the last node of the submodule we
                  want to run. If set to None, we'll end with the last node of the
                  model.
          """
          nodes = self._collect_nodes(start, end)
          cur_nodes = set(nodes)
  
          for node in nodes:
              if node in self.fusions:
                  cur_nodes.update(self.fusions[node])
  
          output_names = []
          if self.settings.return_intermediate:
              output_names = [node.name for node in nodes]
  
          try:
              split_module, submod_name = self._build_submodule(cur_nodes)
              self._run_and_compare(split_module, submod_name, output_names)
          except (
              FxNetMinimizerRunFuncError,
              FxNetMinimizerResultMismatchError,
          ) as e:
              print(e)
function_tokens: def run_nodes ( self , start : Optional [ str ] = None , end : Optional [ str ] = None ) : nodes = self . _collect_nodes ( start , end ) cur_nodes = set ( nodes ) for node in nodes : if node in self . fusions : cur_nodes . update ( self . fusions [ node ] ) output_names = [ ] if self . settings . return_intermediate : output_names = [ node . name for node in nodes ] try : split_module , submod_name = self . _build_submodule ( cur_nodes ) self . _run_and_compare ( split_module , submod_name , output_names ) except ( FxNetMinimizerRunFuncError , FxNetMinimizerResultMismatchError , ) as e : print ( e )