<｜begin▁of▁sentence｜>### Instruction:
Given two Erdős-Rényi graphs with 15 nodes each and a connection probability of 0.3, can you use the omnibus_embedding_pairwise function to calculate the omnibus embedding for these graphs? You should provide the embeddings for each pair of graphs as the output.
### Response:
import networkx as nx
from graspologic.pipeline.embed import omnibus_embedding_pairwise

# List of networkx graphs
graphs = [nx.erdos_renyi_graph(15, 0.3, seed=42), nx.erdos_renyi_graph(15, 0.3, seed=52)]

# Perform pairwise omnibus embedding
embeddings = omnibus_embedding_pairwise(graphs=graphs, dimensions=2, elbow_cut=None, svd_solver_algorithm='randomized', svd_solver_iterations=5, svd_seed=42, weight_attribute='weight', use_laplacian=False)

# The embeddings object is a list of tuples where each tuple contains embeddings for a pair of graphs
for i, (emb1, emb2) in enumerate(embeddings):
    print(f'Embeddings for graph pair {i}:')
    print('Graph 1 embedding:\n', emb1)
    print('Graph 2 embedding:\n', emb2)
<|EOT|>
