parameters: (op, output_var_name)
return_statement: return res
docstring: Get the output name and index of the var_name in the op
docstring_summary: Get the output name and index of the var_name in the op
docstring_tokens: Get the output name and index of the var_name in the op
function: def _get_output_name_index(op, output_var_name):
      """Get the output name and index of the var_name in the op"""
      assert isinstance(op, (IrNode, Operator)), \
          "The input op should be IrNode or Operator."
      op_name = op.name() if isinstance(op, IrNode) \
          else op.type
      if op_name not in _op_real_in_out_name:
          return None
  
      name_list = _op_real_in_out_name[op_name][1]
      res = None
      for name in name_list:
          var_name = op.output(name)
          for index, val in enumerate(var_name):
              if val == output_var_name:
                  res = (name, index)
      return res
function_tokens: def _get_output_name_index ( op , output_var_name ) : assert isinstance ( op , ( IrNode , Operator ) ) , "The input op should be IrNode or Operator." op_name = op . name ( ) if isinstance ( op , IrNode ) else op . type if op_name not in _op_real_in_out_name : return None name_list = _op_real_in_out_name [ op_name ] [ 1 ] res = None for name in name_list : var_name = op . output ( name ) for index , val in enumerate ( var_name ) : if val == output_var_name : res = ( name , index ) return res