NeuralNetwork::{push,pop}{Front,Back}() implementation.
NeuralLayer::{push,pop}{Front,Back}() implementation.