Bipartite graph capsule network