Module Expr Str Import alias Import alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore ListLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad TupleLoad NameLoad SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad TupleLoad Num NameLoad TupleLoad NameLoad Num NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore ListLoad TupleLoad NameLoad TupleLoad Num NameLoad TupleLoad NameLoad Num NameLoad TupleLoad NameLoad NameLoad NameLoad body Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call NameLoad NameLoad NameLoad Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass decorator_list If NameLoad body FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad keyword Str For TupleStore NameStore NameStore NameStore ListLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad body Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore ListLoad TupleLoad NameLoad TupleLoad Num NameLoad TupleLoad NameLoad Num NameLoad TupleLoad NameLoad NameLoad NameLoad body Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call NameLoad NameLoad NameLoad Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass decorator_list
N/A N/A 
test the tensor and sparse type. The CudaNdarray type is tested in sandbox/cuda/tests/test_tensor_op.py.test_may_share_memory_cuda
 N/A numpy N/A theano N/A N/A N/A scipy.sparse N/A scipy_imported True N/A N/A N/A ImportError N/A N/A scipy_imported False theano.misc.may_share_memory may_share_memory test_may_share_memory N/A N/A N/A N/A N/A a N/A N/A N/A numpy random rand 5 4 N/A b N/A N/A N/A numpy random rand 5 4 N/A va N/A N/A a view N/A vb N/A N/A b view N/A ra N/A N/A a reshape N/A 4 5 N/A rb N/A N/A b reshape N/A 4 5 N/A ta N/A a T N/A tb N/A b T N/A N/A a_ b_ rep N/A N/A a a True N/A b b True N/A a b False N/A a N/A a N/A 0 True N/A a N/A a N/A N/A N/A 0 True N/A a N/A a T True N/A a N/A 0 False N/A a 1 False N/A a None False N/A a va True N/A b vb True N/A va b False N/A a vb False N/A a ra True N/A b rb True N/A ra b False N/A a rb False N/A a ta True N/A b tb True N/A ta b False N/A a tb False N/A N/A N/A N/A may_share_memory a_ b_ False rep N/A N/A N/A may_share_memory b_ a_ False rep N/A N/A a_ b_ rep N/A N/A a N/A 0 False N/A a 1 False N/A a None False N/A N/A N/A N/A may_share_memory a_ b_ False rep N/A N/A N/A may_share_memory b_ a_ False rep N/A N/A N/A N/A may_share_memory a_ b_ N/A N/A Exception An error was expected N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A may_share_memory b_ a_ N/A N/A Exception An error was expected N/A N/A N/A TypeError N/A N/A N/A N/A scipy_imported N/A test_may_share_memory_scipy N/A N/A N/A N/A N/A a N/A N/A N/A scipy sparse csc_matrix N/A N/A N/A scipy sparse eye 5 3 N/A b N/A N/A N/A scipy sparse csc_matrix N/A N/A N/A scipy sparse eye 4 3 N/A as_ar N/A N/A N/A a N/A N/A N/A theano _asarray a dtype int32 N/A N/A a_ b_ rep N/A N/A a a True N/A b b True N/A a b False N/A a N/A a data True N/A a N/A a indptr True N/A a N/A a indices True N/A a N/A as_ar N/A a shape False N/A N/A a data a True N/A N/A a indptr a True N/A N/A a indices a True N/A N/A as_ar N/A a shape a False N/A b N/A b data True N/A b N/A b indptr True N/A b N/A b indices True N/A b N/A as_ar N/A b shape False N/A N/A b data b True N/A N/A b indptr b True N/A N/A b indices b True N/A N/A as_ar N/A b shape b False N/A N/A b data a False N/A N/A b indptr a False N/A N/A b indices a False N/A N/A as_ar N/A b shape a False N/A N/A N/A N/A may_share_memory a_ b_ rep N/A N/A N/A may_share_memory b_ a_ rep N/A N/A a_ b_ rep N/A N/A a N/A 0 False N/A a 1 False N/A a None False N/A N/A N/A N/A may_share_memory a_ b_ False rep N/A N/A N/A may_share_memory b_ a_ False rep N/A N/A N/A N/A may_share_memory a_ b_ N/A N/A Exception An error was expected N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A may_share_memory b_ a_ N/A N/A Exception An error was expected N/A N/A N/A TypeError N/A N/A N/A