Module Import alias Import alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Str orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Assign NameStore ListLoad Num Num Assign NameStore Num Assign NameStore ListLoad Num Num Assign NameStore ListLoad Num Num For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Assign NameStore ListLoad Num Assign NameStore Num Assign NameStore ListLoad Num Num Assign NameStore ListLoad Num Num For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad BinOpDiv NameLoad NameLoad BinOpDiv NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Assign NameStore ListLoad Num Assign NameStore Num Assign NameStore ListLoad Num Num Assign NameStore ListLoad Num Num For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad BinOpDiv NameLoad NameLoad BinOpDiv NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assert Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num decorator_list NameLoad
N/A N/A copy N/A theano N/A numpy np N/A theano.tensor T theano config theano function pylearn2.expr.probabilistic_max_pooling max_pool_c01b pylearn2.sandbox.cuda_convnet.probabilistic_max_pooling prob_max_pool_c01b pylearn2.utils float32_floatX pylearn2.testing.skip skip_if_no_gpu N/A N/A skip_if_no_gpu N/A N/A N/A N/A theano config mode FAST_COMPILE N/A N/A mode_with_gpu N/A N/A N/A N/A N/A N/A theano compile mode get_mode FAST_RUN including gpu N/A mode_without_gpu N/A N/A N/A N/A N/A N/A theano compile mode get_mode FAST_RUN excluding gpu N/A N/A mode_with_gpu N/A N/A N/A N/A N/A N/A theano compile mode get_default_mode including gpu N/A mode_without_gpu N/A N/A N/A N/A N/A N/A theano compile mode get_default_mode excluding gpu N/A mode_with_gpu N/A N/A copy copy mode_with_gpu N/A mode_without_gpu N/A N/A copy copy mode_without_gpu N/A N/A mode_with_gpu check_py_code False N/A N/A mode_without_gpu check_py_code False test_correctness N/A N/A N/A N/A N/A 
    Test the forward pass Op against theano graph implementation
     N/A rng N/A N/A N/A np random RandomState N/A 2012 7 19 N/A batch_size_list N/A 1 5 N/A channels 16 N/A rows_list N/A 2 24 N/A pool_rows_list N/A 2 3 N/A batch_size batch_size_list N/A N/A N/A rows pool_rows N/A zip rows_list pool_rows_list N/A N/A cols rows N/A pool_cols pool_rows N/A zv N/A N/A N/A N/A rng randn channels rows cols batch_size astype N/A config floatX N/A z N/A N/A T tensor4 N/A N/A p h N/A prob_max_pool_c01b z N/A pool_rows pool_cols N/A func N/A function N/A z N/A p h mode mode_with_gpu N/A N/A p_op h_op N/A func zv N/A N/A p h N/A max_pool_c01b z N/A pool_rows pool_cols N/A func N/A function N/A z N/A p h mode mode_without_gpu N/A N/A p_th h_th N/A func zv N/A N/A N/A np allclose p_op p_th N/A N/A N/A np allclose h_op h_th N/A float32_floatX test_top_donw_correctness N/A N/A N/A N/A N/A 
    Test the forward pass Op against theano graph implementation
     N/A rng N/A N/A N/A np random RandomState N/A 2012 7 19 N/A batch_size_list N/A 1 N/A channels 16 N/A rows_list N/A 2 24 N/A pool_rows_list N/A 2 3 N/A batch_size batch_size_list N/A N/A N/A rows pool_rows N/A zip rows_list pool_rows_list N/A N/A cols rows N/A pool_cols pool_rows N/A zv N/A N/A N/A N/A rng randn channels rows cols batch_size astype N/A config floatX N/A tv N/A N/A N/A N/A rng randn channels N/A rows pool_rows N/A cols pool_cols batch_size astype N/A config floatX N/A z N/A N/A T tensor4 N/A t N/A N/A T tensor4 N/A N/A p h N/A prob_max_pool_c01b z N/A pool_rows pool_cols top_down t N/A func N/A function N/A z t N/A p h mode mode_with_gpu N/A N/A p_op h_op N/A func zv tv N/A N/A p h N/A max_pool_c01b z N/A pool_rows pool_cols top_down t N/A func N/A function N/A z t N/A p h mode mode_without_gpu N/A N/A p_th h_th N/A func zv tv N/A N/A N/A np allclose p_op p_th N/A N/A N/A np allclose h_op h_th N/A float32_floatX test_grad N/A N/A N/A N/A N/A 
    Test Op's gradient w.r.t top_down against theano graph implementation
     N/A rng N/A N/A N/A np random RandomState N/A 2012 7 19 N/A batch_size_list N/A 1 N/A channels 16 N/A rows_list N/A 2 24 N/A pool_rows_list N/A 2 3 N/A batch_size batch_size_list N/A N/A N/A rows pool_rows N/A zip rows_list pool_rows_list N/A N/A cols rows N/A pool_cols pool_rows N/A zv N/A N/A N/A N/A rng randn channels rows cols batch_size astype N/A config floatX N/A tv N/A N/A N/A N/A rng randn channels N/A rows pool_rows N/A cols pool_cols batch_size astype N/A config floatX N/A z N/A N/A T tensor4 N/A t N/A N/A T tensor4 N/A N/A p h N/A prob_max_pool_c01b z N/A pool_rows pool_cols top_down t N/A gh_t N/A N/A T grad N/A N/A h sum t N/A gp_t N/A N/A T grad N/A N/A p sum t N/A gh_z N/A N/A T grad N/A N/A h sum z N/A gp_z N/A N/A T grad N/A N/A p sum z N/A gph_z N/A N/A T grad N/A N/A N/A p sum N/A N/A h sum z N/A gph_t N/A N/A T grad N/A N/A N/A p sum N/A N/A h sum t N/A func N/A function N/A z t N/A gh_t gp_t gh_z gp_z gph_z gph_t mode mode_with_gpu N/A op_rval N/A func zv tv N/A N/A p h N/A max_pool_c01b z N/A pool_rows pool_cols top_down t N/A gh_t N/A N/A T grad N/A N/A h sum t N/A gp_t N/A N/A T grad N/A N/A p sum t N/A gh_z N/A N/A T grad N/A N/A h sum z N/A gp_z N/A N/A T grad N/A N/A p sum z N/A gph_z N/A N/A T grad N/A N/A N/A p sum N/A N/A h sum z N/A gph_t N/A N/A T grad N/A N/A N/A p sum N/A N/A h sum t N/A func N/A function N/A z t N/A gh_t gp_t gh_z gp_z gph_z gph_t mode mode_without_gpu N/A th_rval N/A func zv tv N/A N/A op th N/A zip op_rval th_rval N/A N/A N/A N/A np allclose op th rtol 0.0001 atol 1e-06 N/A float32_floatX