Recognition of topological features of graphs and images in neural networks | Synapse