Module Expr Str ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad keyword Num keyword Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Call NameLoad NameLoad NameLoad keyword Call NameLoad keyword Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Call NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad
N/A N/A 
Example that trains a network with one GRU layer to
perform the vector copy task from the NTM paper.
 neon.initializers Uniform neon.layers GeneralizedCostMask Affine GRU neon.models Model neon.optimizers RMSProp neon.transforms Tanh CrossEntropyBinary Logistic neon.callbacks.callbacks Callbacks neon.util.argparser NeonArgparser neon.data Ticker CopyTask N/A parser N/A NeonArgparser __doc__ N/A args N/A N/A parser parse_args N/A batch_size 128 N/A seq_len_max 5 N/A repeat_count_max 2 N/A vec_size 8 N/A hidden_size 100 N/A gradient_clip_value 5 N/A ticker_task N/A CopyTask seq_len_max vec_size N/A train_set N/A Ticker ticker_task N/A init N/A Uniform low -0.08 high 0.08 N/A output_size 8 N/A N 120 N/A M 8 N/A layers N/A N/A GRU hidden_size init activation N/A Tanh gate_activation N/A Logistic N/A Affine N/A train_set nout init bias init activation N/A Logistic N/A cost N/A GeneralizedCostMask costfunc N/A CrossEntropyBinary N/A model N/A Model layers layers N/A optimizer N/A RMSProp gradient_clip_value gradient_clip_value stochastic_round N/A args rounding N/A callbacks N/A Callbacks model N/A args callback_args N/A N/A N/A callbacks add_watch_ticker_callback train_set N/A N/A N/A model fit train_set optimizer optimizer num_epochs N/A args epochs cost cost callbacks callbacks