Advantages of versatile neural-network decoding for topological codes | Synapse