Module ImportFrom alias Import alias Import alias Import alias identifier ImportFrom alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore TupleLoad Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpFloorDiv BinOpAdd BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad BinOpFloorDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr BinOpFloorDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore TupleLoad Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num TupleLoad Num Num Num Str Num Num NameLoad body If NameLoad body Import alias identifier TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Str AugAssignDiv NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num attr keyword Num ExtSlice Slice Index NameLoad Index NameLoad If BoolOpAnd Num NameLoad body Expr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Slice Slice Index NameLoad Index NameLoad attr Num Num Num Num Num Expr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad BinOpPow BinOpSub NameLoad AttributeLoad NameLoad attr Num attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore ListComp TupleLoad NameLoad BinOpSub NameLoad BinOpMult BinOpDiv NameLoad AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If Num body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr BinOpMult Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore Call NameLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad ExtSlice Slice Slice Slice Slice Slice NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore Call NameLoad Expr Call NameLoad Str NameLoad NameLoad If BoolOpAnd Num NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assert CompareLt NameLoad Num decorator_list decorator_list
N/A __future__ print_function N/A nose N/A unittest N/A numpy np theano.compat.six.moves xrange N/A theano localdot LocalDot test_matrixmul SymbolicSelfTestMixin TestLocalDot32x32 N/A N/A unittest TestCase SymbolicSelfTestMixin N/A N/A channels 3 N/A bsize 10 N/A imshp N/A 32 32 N/A ksize 5 N/A nkern_per_group 16 N/A subsample_stride 1 N/A ngroups 1 rand N/A N/A self shp N/A N/A N/A N/A N/A N/A N/A N/A np random rand shp astype float32 N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A np random seed 234 N/A N/A N/A N/A self imshp N/A 0 N/A N/A self imshp N/A 1 N/A fModulesR N/A N/A N/A N/A N/A self imshp N/A 0 N/A self ksize 1 N/A self subsample_stride N/A fModulesC fModulesR N/A N/A self fshape N/A fModulesR fModulesC N/A N/A self channels N/A self ngroups N/A self ksize N/A self ksize N/A self ngroups N/A self nkern_per_group N/A N/A self ishape N/A N/A self ngroups N/A N/A self channels N/A self ngroups N/A N/A self imshp N/A 0 N/A N/A self imshp N/A 1 N/A self bsize N/A N/A self hshape N/A N/A self ngroups N/A self nkern_per_group fModulesR fModulesC N/A self bsize N/A filters N/A N/A theano shared N/A N/A self rand N/A self fshape N/A N/A self A N/A LocalDot filters N/A N/A self imshp N/A 0 N/A N/A self imshp N/A 1 subsample N/A N/A self subsample_stride N/A self subsample_stride N/A N/A self xlval N/A N/A self rand N/A N/A N/A N/A self hshape N/A -1 N/A N/A self hshape N/A -1 N/A N/A self xrval N/A N/A self rand N/A self ishape N/A N/A self xl N/A N/A theano shared N/A self xlval N/A N/A self xr N/A N/A theano shared N/A self xrval N/A N/A TestLocalDotLargeGray N/A TestLocalDot32x32 N/A N/A channels 1 N/A bsize 128 N/A imshp N/A 256 256 N/A ksize 9 N/A nkern_per_group 16 N/A subsample_stride 2 N/A ngroups 1 N/A n_patches 3000 rand N/A N/A self shp N/A N/A N/A N/A N/A N/A N/A N/A np random rand shp astype float32 N/A run_autoencoder N/A N/A self n_train_iter rf_shape n_filters dtype module_stride lr show_filters N/A 10000 N/A 9 9 1024 float32 2 0.01 True N/A N/A show_filters N/A N/A matplotlib.pyplot plt N/A N/A N/A skdata.vanhateren.dataset N/A N/A N/A ImportError N/A N/A N/A N/A nose SkipTest N/A N/A print Loading van Hateren images N/A n_images 50 N/A vh N/A N/A N/A N/A skdata vanhateren dataset Calibrated n_images N/A patches N/A N/A vh raw_patches N/A N/A N/A self n_patches N/A self imshp items N/A N/A vh meta N/A n_images rng N/A N/A N/A np random RandomState 123 N/A patches N/A N/A patches astype float32 N/A patches N/A N/A N/A N/A N/A patches reshape N/A self n_patches N/A N/A N/A self imshp N/A 0 N/A N/A self imshp N/A 1 max axis 1 N/A N/A N/A None N/A None N/A N/A 0 show_filters N/A N/A N/A N/A plt subplot 2 2 1 N/A N/A N/A plt imshow N/A patches N/A 0 cmap gray N/A N/A N/A plt subplot 2 2 2 N/A N/A N/A plt imshow N/A patches N/A 1 cmap gray N/A N/A N/A plt subplot 2 2 3 N/A N/A N/A plt imshow N/A patches N/A 2 cmap gray N/A N/A N/A plt subplot 2 2 4 N/A N/A N/A plt imshow N/A patches N/A 3 cmap gray N/A N/A N/A plt show N/A patches5 N/A N/A N/A patches N/A N/A N/A N/A N/A None N/A None transpose 3 4 1 2 0 N/A N/A print Patches shape N/A patches shape N/A self n_patches N/A patches5 shape N/A N/A print Setting up autoencoder N/A hid N/A N/A N/A theano tensor tanh N/A N/A N/A self A rmul N/A self xl N/A out N/A N/A N/A self A rmul_T hid N/A cost N/A N/A N/A N/A out N/A self xl 2 sum N/A params N/A N/A N/A self A params N/A gparams N/A N/A N/A theano tensor grad cost params N/A train_updates N/A N/A p N/A p N/A N/A lr N/A self bsize gp N/A N/A p gp N/A zip params gparams N/A 1 N/A N/A train_fn N/A N/A theano function N/A N/A cost updates train_updates N/A N/A train_fn N/A N/A theano function N/A N/A updates train_updates N/A N/A N/A N/A theano printing debugprint train_fn N/A N/A N/A N/A params N/A 0 set_value N/A 0.001 N/A N/A N/A params N/A 0 get_value N/A ii N/A xrange 0 N/A self n_patches N/A self bsize N/A N/A N/A N/A N/A self xl set_value N/A patches5 N/A N/A N/A N/A N/A N/A ii N/A ii N/A self bsize borrow True N/A N/A cost_ii N/A train_fn N/A N/A print Cost ii cost_ii N/A N/A 0 show_filters N/A N/A N/A N/A N/A self A imshow_gray N/A N/A N/A plt show N/A N/A cost_ii 0 N/A N/A