Learning to decode logical circuits | Synapse