Module ImportFrom alias Assign NameStore Num If NameLoad body Import alias ImportFrom alias alias ImportFrom alias Import alias alias Import alias identifier Import alias Import alias ImportFrom alias Import alias identifier Import alias Import alias identifier Import alias Import alias Assign NameStore NameLoad FunctionDef arguments args defaults body Print Str Print Str Print Str Assign NameStore Num Assign NameStore Num Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore Num Assign NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign NameStore TupleLoad Str Str Assign NameStore BinOpAdd TupleLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd TupleLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd TupleLoad NameLoad NameLoad TupleLoad NameLoad Assign NameStore BinOpAdd BinOpAdd TupleLoad NameLoad NameLoad TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Num attr Assert CompareEq AttributeLoad NameLoad attr BinOpAdd BinOpAdd TupleLoad NameLoad NameLoad TupleLoad NameLoad For NameStore NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Print Str Print Str Print Str Assign NameStore Num Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore Num Assign NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num Assign NameStore TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Import alias identifier Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore NameLoad body For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad attr BinOpAdd TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Num BinOpSub SubscriptLoad NameLoad Index Num Num BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Num BinOpSub SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad ExtSlice Slice Slice BinOpSub SubscriptLoad NameLoad Index Num Num BinOpAdd BinOpSub SubscriptLoad NameLoad Index Num Num SubscriptLoad AttributeLoad NameLoad attr Index Num Slice BinOpSub SubscriptLoad NameLoad Index Num Num BinOpAdd BinOpSub SubscriptLoad NameLoad Index Num Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpMult NameLoad SubscriptLoad NameLoad Index Num Assign NameStore BinOpMult NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index NameLoad Index NameLoad Slice Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num NameLoad AugAssignAdd NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assert Call AttributeLoad CompareLt NameLoad Num attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Print Str Print TupleLoad Str NameLoad Print TupleLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num Assert CompareEq Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num body For NameStore Call NameLoad BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num body Assign TupleStore NameStore NameStore TupleLoad BinOpMult NameLoad SubscriptLoad NameLoad Index Num BinOpMult NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Index NameLoad Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num decorator_list
N/A theano.compat.six.moves xrange N/A activate_test_spconv 0 N/A activate_test_spconv N/A N/A sys theano function Mode theano.gof OpWiseCLinker N/A theano numpy N/A theano.tensor T N/A theano.sparse N/A scipy.sparse scipy.signal convolve2d N/A scipy.sparse sparse N/A numpy N/A numpy N N/A unittest N/A time N/A sp None test_convolution N/A N/A N/A N/A N/A 

************************************************* N/A            TEST CONVOLUTION N/A ************************************************* N/A channels 3 N/A bsize 10 N/A imshp N/A 32 32 N/A kshp N/A 8 8 N/A nkern 32 N/A subsample_amounts N/A N/A 1 1 N/A 2 2 N/A 3 3 N/A 4 4 N/A convmodes N/A full valid N/A ishp4_channel_major N/A N/A bsize channels imshp N/A kshp4_channel_major N/A N/A nkern channels kshp N/A ishp4_channel_minor N/A N/A N/A bsize imshp N/A channels N/A kshp4_channel_minor N/A N/A N/A nkern kshp N/A channels N/A kerns N/A N/A T tensor4 N/A imgs N/A N/A T tensor4 N/A rng N/A N/A N/A N random RandomState 3423489 N/A kern_data N/A N/A N/A N/A N/A rng rand kshp4_channel_major astype N/A kerns dtype 1 N/A img_data N/A N/A N/A N/A N/A rng rand ishp4_channel_major astype N/A imgs dtype 1 N/A kern_data_minor N/A N/A N/A N/A kern_data transpose N/A 0 2 3 1 copy N/A img_data_minor N/A N/A N/A N/A img_data transpose N/A 0 2 3 1 copy N/A N/A N/A img_data_minor shape N/A N/A N/A bsize imshp N/A channels N/A conv_mode convmodes N/A N/A subsample subsample_amounts N/A N/A de_output N/A N/A N/A N/A theano tensor nnet conv2d imgs kerns ishp4_channel_major kshp4_channel_major border_mode conv_mode subsample subsample N/A f_d N/A function N/A kerns imgs de_output profile DENSE N/A t0 N/A N/A time time N/A i N/A range 5 N/A N/A rval_d N/A f_d kern_data img_data N/A t_d N/A N/A N/A time time t0 N/A use_channel_major_ordering 0 N/A use_channel_major_ordering N/A N/A N/A sp_output outshp N/A N/A sp conv2d imgs kerns ishp4_channel_major kshp4_channel_major subsample subsample border_mode conv_mode N/A f_s N/A function N/A kerns imgs sp_output profile MAJOR N/A t0 N/A N/A time time N/A i N/A range 5 N/A N/A rval_s N/A f_s kern_data img_data N/A N/A N/A rval_s size N/A rval_d size N/A N/A rval_s shape N/A rval_d shape N/A rval_s_major N/A N/A rval_s transpose N/A 0 3 1 2 N/A N/A N/A numpy allclose rval_s_major rval_d N/A t_s_major N/A N/A N/A time time t0 N/A use_channel_minor_ordering 1 N/A use_channel_minor_ordering N/A N/A N/A sp_output outshp N/A N/A sp conv2d_channel_minor imgs kerns ishp4_channel_minor kshp4_channel_minor subsample subsample border_mode conv_mode N/A f_s N/A function N/A kerns imgs sp_output profile MINOR N/A t0 N/A N/A time time N/A i N/A range 5 N/A N/A rval_s N/A f_s kern_data_minor img_data_minor N/A N/A N/A rval_s size N/A rval_d size N/A N/A rval_s shape N/A rval_d shape N/A rval_s_major N/A N/A rval_s transpose N/A 0 3 1 2 N/A N/A N/A rval_s_major shape N/A rval_d shape N/A N/A N/A numpy allclose rval_s_major rval_d N/A t_s_minor N/A N/A N/A time time t0 N/A test_sparse N/A N/A N/A N/A N/A 

************************************************* N/A            TEST SPARSE N/A ************************************************* N/A bsize 10 N/A imshp N/A 28 28 N/A kshp N/A 5 5 N/A nkern 1 N/A ssizes N/A N/A 1 1 N/A 2 2 N/A convmodes N/A full valid N/A bias N/A N/A T dvector N/A kerns N/A N/A T dvector N/A input N/A N/A T dmatrix N/A rng N/A N/A N/A N random RandomState 3423489 N/A theano.gof gof N/A N/A ntot ttot N/A 0 0 N/A conv_mode convmodes N/A N/A ss ssizes N/A N/A N/A output outshp N/A N/A sp applySparseFilter kerns kshp nkern input imshp ss bias bias mode conv_mode N/A f N/A function N/A kerns bias input output N/A img2d N/A N/A N/A N/A N arange N/A bsize N/A N/A N prod imshp reshape N/A N/A bsize imshp N/A img1d N/A N/A img2d reshape bsize -1 N/A zeropad_img N/A N/A N zeros N/A bsize N/A N/A N/A img2d shape N/A 1 N/A 2 N/A N/A kshp N/A 0 1 N/A N/A N/A img2d shape N/A 2 N/A 2 N/A N/A kshp N/A 1 1 N/A N/A zeropad_img N/A N/A N/A N/A N/A kshp N/A 0 1 N/A N/A N/A kshp N/A 0 1 N/A N/A img2d shape N/A 1 N/A N/A N/A kshp N/A 1 1 N/A N/A N/A kshp N/A 1 1 N/A N/A img2d shape N/A 2 img2d N/A filters N/A N/A N/A N/A N arange N/A N/A N/A N prod outshp N/A N/A N prod kshp reshape nkern N/A N/A N prod N/A outshp N/A 1 N/A N/A N prod kshp N/A spfilt N/A N/A filters flatten N/A biasvals N/A N/A N arange N/A N/A N prod outshp N/A ntime1 N/A N/A time time N/A refout N/A N/A N zeros N/A bsize nkern N/A outshp N/A 1 N/A outshp N/A 2 N/A patch N/A N/A N zeros N/A N/A kshp N/A 0 N/A kshp N/A 1 N/A b N/A xrange bsize N/A N/A k N/A xrange nkern N/A N/A pixi 0 N/A j N/A xrange N/A outshp N/A 1 N/A N/A i N/A xrange N/A outshp N/A 2 N/A N/A n N/A j N/A ss N/A 0 N/A m N/A i N/A ss N/A 1 N/A patch N/A zeropad_img N/A N/A b N/A n N/A n N/A kshp N/A 0 N/A m N/A m N/A kshp N/A 1 N/A N/A refout N/A N/A b k j i N/A N/A N dot N/A filters N/A N/A k N/A pixi N/A N/A N/A patch flatten N/A pixi 1 N/A refout N/A N/A N/A refout reshape bsize -1 biasvals N/A ntot N/A N/A N/A time time ntime1 N/A ttime1 N/A N/A time time N/A out1 N/A f spfilt biasvals img1d N/A ttot N/A N/A N/A time time ttime1 N/A temp N/A refout out1 N/A N/A N/A N/A temp 1e-10 all N/A vis N/A N/A T grad output input output N/A downprop N/A function N/A kerns output vis N/A temp1 N/A N/A time time N/A zz N/A range 100 N/A N/A visval N/A downprop spfilt out1 N/A N/A indices indptr spmat_shape sptype outshp kmap N/A N/A N/A sp convolution_indices sparse_eval imshp kshp nkern ss conv_mode N/A spmat N/A N/A sparse csc_matrix N/A N/A spfilt N/A kmap indices indptr spmat_shape N/A visref N/A N/A N dot out1 N/A N/A spmat todense N/A N/A N/A N all N/A visref visval N/A **** Sparse Profiling Results **** N/A N/A Numpy processing time:  ntot N/A N/A Theano processing time:  ttot N/A test_maxpool N/A N/A N/A N/A N/A maxpoolshps N/A N/A 2 2 N/A 3 3 N/A 4 4 N/A 5 5 N/A 6 6 N/A imval N/A N/A N/A N random rand 4 5 10 10 N/A images N/A N/A T dmatrix N/A maxpoolshp maxpoolshps N/A N/A N/A output outshp N/A N/A sp max_pool images N/A N/A imval shape N/A 1 maxpoolshp N/A f N/A function N/A images N/A output N/A output_val N/A f N/A N/A imval reshape N/A N/A imval shape N/A 0 -1 N/A my_output_val N/A N/A N zeros N/A N/A N/A imval shape N/A 0 N/A N/A imval shape N/A 1 N/A N/A N/A imval shape N/A 2 N/A maxpoolshp N/A 0 N/A N/A N/A imval shape N/A 3 N/A maxpoolshp N/A 1 N/A N/A N/A N/A N prod N/A N/A my_output_val shape N/A 1 N/A N/A N prod N/A N/A N r_ N/A N/A N/A N/A imval shape N/A 1 outshp N/A n N/A range N/A N/A imval shape N/A 0 N/A N/A k N/A range N/A N/A imval shape N/A 1 N/A N/A i N/A range N/A N/A N/A imval shape N/A 2 N/A maxpoolshp N/A 0 N/A N/A j N/A range N/A N/A N/A imval shape N/A 3 N/A maxpoolshp N/A 1 N/A N/A N/A ii jj N/A N/A i N/A maxpoolshp N/A 0 N/A j N/A maxpoolshp N/A 1 N/A patch N/A imval N/A N/A n N/A k N/A ii N/A ii N/A maxpoolshp N/A 0 N/A jj N/A jj N/A maxpoolshp N/A 1 N/A N/A my_output_val N/A N/A n k i j N/A N/A N max patch N/A my_output_val N/A N/A my_output_val reshape N/A N/A imval shape N/A 0 -1 N/A N/A N/A N all N/A output_val my_output_val mp N/A N/A input N/A N/A N/A N/A output outshp N/A N/A sp max_pool input N/A N/A imval shape N/A 1 maxpoolshp N/A output N/A N/A N/A N/A T verify_grad None mp N/A N/A N/A imval reshape N/A N/A imval shape N/A 0 -1 N/A