Module Import alias ImportFrom alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Pass Import alias ImportFrom alias ImportFrom alias ImportFrom alias If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str ImportFrom alias alias alias alias alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword TupleLoad Num Num Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assert Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num keyword Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assert Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assert Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr ListLoad Call NameLoad Num AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest nose.plugins.skip SkipTest N/A numpy N/A N/A N/A scipy.sparse sp N/A N/A N/A ImportError N/A N/A N/A theano theano config theano tensor theano sparse N/A N/A N/A N/A theano sparse enable_sparse N/A N/A N/A SkipTest Optional package sparse disabled theano.sparse.sandbox.sp2 Poisson poisson Binomial Multinomial multinomial theano.tests unittest_tools utt theano.sparse.tests.test_basic as_sparse_format PoissonTester N/A N/A utt InferShapeTester N/A N/A x N/A N/A a N/A N/A format N/A sparse sparse_formats N/A N/A variable N/A getattr N/A theano sparse N/A format _matrix N/A rand N/A N/A numpy array N/A N/A N/A N/A numpy random random_integers 3 size N/A 3 4 1 dtype N/A N/A theano config floatX N/A N/A x N/A format N/A variable N/A N/A a N/A format N/A as_sparse_format rand format setUp N/A N/A self N/A N/A N/A N/A N/A N/A super PoissonTester self setUp N/A N/A self op_class Poisson N/A test_op N/A N/A self N/A N/A N/A format N/A sparse sparse_formats N/A N/A f N/A N/A theano function N/A N/A N/A self x N/A format N/A poisson N/A N/A self x N/A format N/A tested N/A f N/A N/A self a N/A format N/A N/A N/A tested format format N/A N/A N/A tested dtype N/A N/A N/A self a N/A format dtype N/A N/A N/A numpy allclose N/A N/A numpy floor N/A tested data N/A tested data N/A N/A N/A tested shape N/A N/A N/A self a N/A format shape N/A test_infer_shape N/A N/A self N/A N/A N/A format N/A sparse sparse_formats N/A N/A N/A N/A self _compile_and_check N/A N/A N/A self x N/A format N/A N/A poisson N/A N/A self x N/A format N/A N/A N/A self a N/A format N/A self op_class N/A N/A BinomialTester N/A N/A utt InferShapeTester N/A N/A n N/A N/A tensor scalar N/A p N/A N/A tensor scalar N/A shape N/A N/A tensor lvector N/A _n 5 N/A _p 0.25 N/A _shape N/A N/A numpy asarray N/A 3 5 dtype int64 N/A inputs N/A n p shape N/A _inputs N/A _n _p _shape setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BinomialTester self setUp N/A N/A self op_class Binomial N/A test_op N/A N/A self N/A N/A N/A sp_format N/A sparse sparse_formats N/A N/A o_type N/A sparse float_dtypes N/A N/A f N/A N/A theano function N/A self inputs N/A N/A Binomial sp_format o_type N/A self inputs N/A tested N/A f N/A self _inputs N/A N/A N/A tested shape N/A tuple N/A self _shape N/A N/A N/A tested format sp_format N/A N/A N/A tested dtype o_type N/A N/A N/A numpy allclose N/A N/A numpy floor N/A N/A tested todense N/A N/A tested todense N/A test_infer_shape N/A N/A self N/A N/A N/A sp_format N/A sparse sparse_formats N/A N/A o_type N/A sparse float_dtypes N/A N/A N/A N/A self _compile_and_check N/A self inputs N/A N/A N/A Binomial sp_format o_type N/A self inputs N/A self _inputs N/A self op_class N/A N/A MultinomialTester N/A N/A utt InferShapeTester N/A N/A p N/A N/A sparse csr_matrix N/A _p N/A N/A sp csr_matrix N/A N/A numpy asarray N/A N/A 0.0 0.5 0.0 0.5 N/A 0.1 0.2 0.3 0.4 N/A 0.0 1.0 0.0 0.0 N/A 0.3 0.3 0.0 0.4 dtype N/A config floatX setUp N/A N/A self N/A N/A N/A N/A N/A N/A super MultinomialTester self setUp N/A N/A self op_class Multinomial N/A test_op N/A N/A self N/A N/A N/A n N/A N/A tensor lscalar N/A f N/A N/A theano function N/A N/A self p n N/A multinomial n N/A self p N/A _n 5 N/A tested N/A f N/A self _p _n N/A N/A N/A tested shape N/A N/A self _p shape N/A N/A N/A numpy allclose N/A N/A numpy floor N/A N/A tested todense N/A N/A tested todense N/A N/A N/A tested N/A N/A 2 1 _n N/A n N/A N/A tensor lvector N/A f N/A N/A theano function N/A N/A self p n N/A multinomial n N/A self p N/A _n N/A N/A numpy asarray N/A 1 2 3 4 dtype int64 N/A tested N/A f N/A self _p _n N/A N/A N/A tested shape N/A N/A self _p shape N/A N/A N/A numpy allclose N/A N/A numpy floor N/A N/A tested todense N/A N/A tested todense N/A N/A N/A tested N/A N/A 2 1 N/A _n N/A 2 N/A test_infer_shape N/A N/A self N/A N/A N/A N/A N/A self _compile_and_check N/A N/A self p N/A N/A multinomial 5 N/A self p N/A N/A self _p N/A self op_class warn False N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main