importpy_paddle.swig_paddleasapifrompaddle.trainer.config_parserimportparse_configdefmain():api.initPaddle("-use_gpu=false","-trainer_count=4")# use 4 cpu coresconfig=parse_config('simple_mnist_network.py','')m=api.GradientMachine.createFromConfigProto(config.model_config)if__name__=='__main__':main()