parameters: (self, subgraph, desc)
return_statement: return desc
docstring: add stitch info to desc
docstring_summary: add stitch info to desc
docstring_tokens: add stitch info to desc
function: def add_stitch_info(self, subgraph, desc):
          """add stitch info to desc"""
          if subgraph.stitch_info and subgraph.stitch_info.stitch_ops:
              buffer_stitch = {'stitch_op': list(subgraph.stitch_info.stitch_ops)}
              if subgraph.stitch_info.stitch_atomic_ops:
                  buffer_stitch['stitch_atomic_op'] = list(subgraph.stitch_info.stitch_atomic_ops)
              desc['buffer_stitch'] = buffer_stitch
          return desc
function_tokens: def add_stitch_info ( self , subgraph , desc ) : if subgraph . stitch_info and subgraph . stitch_info . stitch_ops : buffer_stitch = { 'stitch_op' : list ( subgraph . stitch_info . stitch_ops ) } if subgraph . stitch_info . stitch_atomic_ops : buffer_stitch [ 'stitch_atomic_op' ] = list ( subgraph . stitch_info . stitch_atomic_ops ) desc [ 'buffer_stitch' ] = buffer_stitch return desc