Neural Network Models Constrained by Multiscale Data to Infer Minimal Functional Motifs in the Brain