Training moment neuronal networks with Intra- and Inter-layer interactions