def METHOD_NAME(naslib_object):
    """
    Converts naslib object to string representation.
    """
    ops_to_nb201 = {
        'AvgPool1x1': 'avg_pool_3x3',
        'ReLUConvBN1x1': 'nor_conv_1x1',
        'ReLUConvBN3x3': 'nor_conv_3x3',
        'Identity': 'skip_connect',
        'Zero': 'none',
    }
    cell = naslib_object.nodes[2]['subgraph'].edges[1, 2]['op'].op[1]  # TODO: Do this in a clean fashion
    assert cell.name == "cell" and isinstance(cell, Graph)
    edge_op_dict = {
        (i, j): ops_to_nb201[cell.edges[i, j]['op'].get_op_name] for i, j in cell.edges
    }
    op_edge_list = [
        '{}~{}'.format(edge_op_dict[(i, j)], i - 1) for i, j in sorted(edge_op_dict, key=lambda x: x[1])
    ]
    return '|{}|+|{}|{}|+|{}|{}|{}|'.format(*op_edge_list)