Module ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias identifier Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias If Num body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Call NameLoad keyword TupleLoad Call AttributeLoad NameLoad attr TupleLoad ListLoad Str Str keyword NameLoad Str keyword NameLoad TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Str Str Str Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str Str TupleLoad AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str TupleLoad Call AttributeLoad NameLoad attr TupleLoad ListLoad Str Str keyword NameLoad Call AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If Num body Expr Call NameLoad Str orelse For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body If Num body Assign NameStore Dict NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad If NameLoad body If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad ListLoad Str Str keyword NameLoad body Expr Call NameLoad CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad ListLoad Str Str keyword NameLoad keyword Str Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Str Expr Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr Num keyword Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call NameLoad Str NameLoad NameLoad keyword Str Expr Call NameLoad Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Index AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMult Num Call AttributeLoad NameLoad attr BinOpPow BinOpSub NameLoad NameLoad Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListComp TupleLoad NameLoad BinOpSub NameLoad BinOpMult Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Call NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call NameLoad keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore NameStore NameStore ListComp Call NameLoad NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad Num Assign AttributeStore NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Pass handlers ExceptHandler body Pass
N/A __future__ print_function __future__ absolute_import N/A numpy N/A sys N/A time N/A theano N/A theano.tensor T N/A theano.sandbox six.moves xrange theano.compile module Mode ProfileMode theano gof Op Apply theano.tensor blas opt N/A 0 N/A Opt N/A object N/A N/A merge N/A N/A N/A theano gof MergeOptimizer N/A gemm_opt_1 N/A N/A N/A theano gof TopoOptimizer N/A N/A theano tensor_opt gemm_pattern_1 N/A gemm_opt_2 N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T sub_inplace d N/A N/A T mul N/A dict pattern N/A N/A N/A T DimShuffle N/A N/A x x inplace True a allow_multiple_clients True N/A N/A T add N/A N/A T dot b c N/A N/A T transpose_inplace N/A N/A T dot f g N/A N/A T gemm N/A N/A T gemm d N/A N/A T neg a N/A N/A T transpose_inplace g N/A N/A T transpose_inplace f N/A N/A T constant 1.0 N/A N/A T neg a b c N/A N/A T constant 1.0 allow_multiple_clients False N/A sqr N/A N/A N/A N/A sqr append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T mul x x N/A N/A T sqr x allow_multiple_clients True N/A N/A N/A sqr append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T pow x N/A N/A N/A T DimShuffle N/A N/A x x inplace True N/A N/A T constant 2 N/A N/A T sqr x allow_multiple_clients True N/A ident_opt_list N/A N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T tensor_copy x x allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T transpose_inplace N/A N/A T transpose_inplace x x allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T sqr N/A N/A T sqrt x x allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T sqrt N/A N/A T sqr x x allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T mul x N/A N/A T div y x y allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T mul N/A N/A T div y x x y allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T div N/A N/A T mul y x x y allow_multiple_clients True N/A N/A N/A ident_opt_list append N/A N/A N/A theano gof TopoOptimizer N/A N/A N/A theano gof PatternSub N/A N/A T div N/A N/A T mul y x y x allow_multiple_clients True __call__ N/A N/A self env N/A N/A N/A N/A N/A self merge env N/A 0 N/A N/A N/A print SKIPPING optimizations N/A N/A opt N/A self ident_opt_list N/A N/A N/A opt env N/A opt N/A self sqr N/A N/A N/A opt env N/A N/A N/A self gemm_opt_1 env N/A N/A N/A self gemm_opt_2 env N/A N/A N/A self merge env N/A N/A print_graph_linker N/A N/A print_prog N/A True N/A N/A 1 N/A N/A imap N/A None - blah N/A N/A i node thunk N/A N/A N/A N/A imap N/A node N/A str i N/A print_prog N/A N/A N/A False N/A N/A node op N/A N/A T DimShuffle N/A N/A x x inplace True N/A N/A N/A print N/A N/A node op N/A N/A T DimShuffle N/A N/A x x inplace True end N/A N/A print N/A N/A node inputs N/A 0 N/A type N/A N/A node inputs N/A 0 end N/A N/A print N/A N/A N/A N/A node inputs N/A 0 equals N/A N/A T constant 2 end N/A outputs N/A node outputs N/A inputs N/A N/A N/A N/A theano gof graph inputs outputs N/A N/A print node  i node end N/A N/A print N/A N/A : join N/A N/A imap N/A N/A inp owner N/A inp N/A node inputs N/A N/A N/A N/A N/A N/A theano sandbox wraplinker WrapLinkerMany N/A N/A N/A N/A theano gof OpWiseCLinker N/A N/A N/A N/A theano sandbox wraplinker run_all blah N/A N/A N/A N/A N/A theano gof OpWiseCLinker N/A M N/A N/A module Module N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super M self __init__ N/A x N/A N/A T matrix x N/A N/A self w N/A N/A module Member N/A N/A T matrix w N/A N/A self a N/A N/A module Member N/A N/A T vector a N/A N/A self b N/A N/A module Member N/A N/A T vector b N/A N/A self hid N/A N/A T tanh N/A N/A N/A T dot x N/A self w N/A self a N/A hid N/A self hid N/A N/A self out N/A N/A T tanh N/A N/A N/A T dot hid N/A N/A self w T N/A self b N/A out N/A self out N/A N/A self err N/A 0.5 N/A N/A T sum N/A N/A out x 2 N/A err N/A self err N/A params N/A N/A self w N/A self a N/A self b N/A gparams N/A N/A T grad err params N/A updates N/A N/A p N/A p N/A 0.01 gp N/A N/A p gp N/A zip params gparams N/A N/A self step N/A N/A module Method N/A x err updates N/A dict updates N/A N/A N/A mod N/A M N/A mode FAST_RUN N/A mode N/A Mode optimizer fast_run linker N/A N/A N/A theano gof OpWiseCLinker nice_errors True N/A mode N/A Mode optimizer fast_run linker c N/A mode N/A Mode optimizer fast_run linker c|py N/A N/A print N/A N/A mod pretty mode mode N/A m N/A N/A mod make mode mode N/A N/A neg nout nhid niter N/A N/A int a N/A a N/A N/A sys argv N/A 1 N/A rng N/A N/A N/A numpy random RandomState 342 N/A N/A m w N/A N/A rng rand nout nhid N/A N/A m a N/A N/A N/A rng randn nhid 0.0 N/A N/A m b N/A N/A N/A rng randn nout 0.0 N/A x N/A N/A N/A N/A rng rand neg nout 0.5 1.5 N/A t N/A N/A time time N/A i N/A xrange niter N/A N/A err N/A N/A m step x N/A N/A print time:  N/A N/A N/A time time t err:  err N/A N/A N/A N/A N/A mode print_summary N/A N/A N/A N/A N/A