The CNNCF is a modular framework consisting of two stages that were trained with different optimization goals and controlled by the control gate block.