Graph Generation
====================
In this problem, you will be implementing a graph generation model using a Graph Variational Autoencoder (GVAE).
**Example:** Given a graph with nodes and edges, generate a new graph with similar structure.
**Constraints:** Use a GVAE architecture with a graph encoder and a graph decoder.
**Note:** You can assume the graph is represented as an adjacency matrix.
Test Cases
Test Case 1
Input:
[[0, 1, 0], [1, 0, 1], [0, 1, 0]]Expected:
[[0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [0.5, 0.5, 0.5]]Test Case 2
Input:
[[0, 0, 1], [0, 1, 0], [1, 0, 0]]Expected:
[[0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [0.5, 0.5, 0.5]]+ 3 hidden test cases