Module Expr Str ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore TupleStore NameStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword TupleLoad Num Num Num Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword TupleLoad Num Num Num Assign NameStore Call NameLoad keyword Num keyword Num Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword NameLoad keyword Call NameLoad Num keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword NameLoad keyword Call NameLoad Num keyword Call NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Num keyword Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad
N/A N/A 
Example highlighting the ability to mix different optimizers in different
layers, or different components of the same layer.
 neon.data ArrayIterator load_mnist neon.initializers Gaussian Constant neon.layers GeneralizedCost Affine neon.models Model neon.optimizers GradientDescentMomentum MultiOptimizer RMSProp neon.transforms Rectlin Logistic CrossEntropyBinary neon.callbacks.callbacks Callbacks neon.util.argparser NeonArgparser N/A parser N/A NeonArgparser __doc__ N/A args N/A N/A parser parse_args N/A N/A N/A X_train y_train N/A X_test y_test nclass N/A load_mnist N/A args data_dir N/A train_set N/A ArrayIterator X_train y_train nclass nclass lshape N/A 1 28 28 N/A valid_set N/A ArrayIterator X_test y_test nclass nclass lshape N/A 1 28 28 N/A init_norm N/A Gaussian loc 0.0 scale 0.01 N/A layers N/A N/A N/A N/A layers append N/A Affine nout 100 init init_norm bias N/A Constant 0 activation N/A Rectlin N/A N/A N/A layers append N/A Affine nout 10 init init_norm bias N/A Constant 0 activation N/A Logistic shortcut True name special_linear N/A cost N/A GeneralizedCost costfunc N/A CrossEntropyBinary N/A mlp N/A Model layers layers N/A optimizer_one N/A GradientDescentMomentum learning_rate 0.1 momentum_coef 0.9 N/A optimizer_two N/A RMSProp N/A opt N/A MultiOptimizer N/A default Bias special_linear optimizer_one optimizer_two optimizer_two N/A callbacks N/A Callbacks mlp eval_set valid_set N/A args callback_args N/A N/A N/A mlp fit train_set optimizer opt num_epochs N/A args epochs cost cost callbacks callbacks