architecture of a self - aware neural network