Topology Reconstruction Encoder