Module Import alias alias Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Import alias identifier Import alias Import alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad keyword BinOpMult Num Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword Dict Str Str Str Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Num Assign NameStore Call NameLoad Call NameLoad keyword Num For NameStore Call NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Print Str NameLoad NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Print Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A logging os N/A N/A N/A logging basicConfig level N/A logging INFO N/A numpy np N/A theano N/A theano.tensor T deepy.dataset MnistDataset MiniBatches deepy.networks ComputationalGraph deepy.trainers optimize_updates tutorial2 MyJointTrainingModel N/A model_path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ models tutorial3.gz N/A N/A __name__ __main__ N/A N/A model N/A ComputationalGraph input_dim N/A 28 28 N/A parameters N/A model parameters N/A gradients N/A N/A T grad N/A model output parameters N/A N/A gradient_updates _ N/A optimize_updates parameters gradients config N/A method learning_rate MOMENTUM 0.03 N/A train_monitors N/A dict N/A model training_monitors N/A test_monitors N/A dict N/A model testing_monitors N/A N/A train_monitors N/A cost N/A model output N/A N/A test_monitors N/A cost N/A model test_output N/A train_iteration N/A N/A theano function inputs N/A model input_variables outputs N/A N/A train_monitors values updates gradient_updates allow_input_downcast True N/A valid_iteration N/A N/A theano function inputs N/A model input_variables outputs N/A N/A test_monitors values allow_input_downcast True N/A max_epochs 10 N/A mnist N/A MiniBatches N/A MnistDataset batch_size 20 N/A i N/A range max_epochs N/A N/A cost_matrix N/A N/A inputs N/A N/A mnist train_set N/A N/A costs N/A train_iteration inputs N/A N/A N/A cost_matrix append costs N/A train_costs N/A list N/A zip N/A N/A train_monitors keys N/A N/A np mean cost_matrix axis 0 N/A train i train_costs N/A cost_matrix N/A N/A inputs N/A N/A mnist valid_set N/A N/A costs N/A valid_iteration inputs N/A N/A N/A cost_matrix append costs N/A valid_costs N/A list N/A zip N/A N/A test_monitors keys N/A N/A np mean cost_matrix axis 0 N/A valid i valid_costs N/A N/A N/A model save_params model_path