original_docstring: 
          Applies this transformation on the given SDFG, using the transformation
          instance to find the right SDFG object (based on SDFG ID), and applying
          memlet propagation as necessary.
          :param sdfg: The SDFG (or an SDFG in the same hierarchy) to apply the
                       transformation to.
          :param append: If True, appends the transformation to the SDFG
                         transformation history.
          :return: A transformation-defined return value, which could be used
                   to pass analysis data out, or nothing.
          
docstring: Applies this transformation on the given SDFG, using the transformation
  instance to find the right SDFG object (based on SDFG ID), and applying
  memlet propagation as necessary.
docstring_tokens: Applies this transformation on the given SDFG using the transformation instance to find the right SDFG object ( based on SDFG ID ) and applying memlet propagation as necessary .
code: def apply_pattern(self, append: bool = True, annotate: bool = True) -> Union[Any, None]:
          """
          Applies this transformation on the given SDFG, using the transformation
          instance to find the right SDFG object (based on SDFG ID), and applying
          memlet propagation as necessary.
          :param sdfg: The SDFG (or an SDFG in the same hierarchy) to apply the
                       transformation to.
          :param append: If True, appends the transformation to the SDFG
                         transformation history.
          :return: A transformation-defined return value, which could be used
                   to pass analysis data out, or nothing.
          """
          if append:
              self._sdfg.append_transformation(self)
          tsdfg: SDFG = self._sdfg.sdfg_list[self.sdfg_id]
          tgraph = tsdfg.node(self.state_id) if self.state_id >= 0 else tsdfg
          retval = self.apply(tgraph, tsdfg)
          if annotate and not self.annotates_memlets():
              propagation.propagate_memlets_sdfg(tsdfg)
          return retval
code_tokens: def apply_pattern ( self , append : bool = True , annotate : bool = True ) -> Union [ Any , None ] : if append : self . _sdfg . append_transformation ( self ) tsdfg : SDFG = self . _sdfg . sdfg_list [ self . sdfg_id ] tgraph = tsdfg . node ( self . state_id ) if self . state_id >= 0 else tsdfg retval = self . apply ( tgraph , tsdfg ) if annotate and not self . annotates_memlets ( ) : propagation . propagate_memlets_sdfg ( tsdfg ) return retval
short_docstring: Applies this transformation on the given SDFG, using the transformation
  instance to find the right SDFG object (based on SDFG ID), and applying
  memlet propagation as necessary.
short_docstring_tokens: Applies this transformation on the given SDFG using the transformation instance to find the right SDFG object ( based on SDFG ID ) and applying memlet propagation as necessary .
comment: """
          Applies this transformation on the given SDFG, using the transformation
          instance to find the right SDFG object (based on SDFG ID), and applying
          memlet propagation as necessary.
          :param sdfg: The SDFG (or an SDFG in the same hierarchy) to apply the
                       transformation to.
          :param append: If True, appends the transformation to the SDFG
                         transformation history.
          :return: A transformation-defined return value, which could be used
                   to pass analysis data out, or nothing.
          """