The python code to infer cascaded neural networks has been completed