Module Expr Str Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Str Str Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Num Num TupleLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Num Num TupleLoad Call AttributeLoad NameLoad attr Num attr NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assert Call NameLoad GeneratorExp CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Sandbox tests for the projection operator
 N/A numpy np N/A theano pylearn2.sandbox.nlp.linear.matrixmul MatrixMul pylearn2.utils sharedX theano tensor test_matrixmul N/A N/A N/A N/A N/A 
    Tests for projection
     N/A rng N/A N/A N/A np random RandomState 222 N/A dtypes N/A int16 int32 int64 N/A tensor_x N/A N/A N/A tensor wmatrix N/A N/A tensor imatrix N/A N/A tensor lmatrix N/A N/A tensor wvector N/A N/A tensor ivector N/A N/A tensor lvector N/A N/A np_W np_x N/A N/A N/A N/A dtype dtypes N/A N/A N/A N/A np_W append N/A N/A rng rand 10 N/A N/A N/A np random randint 1 10 N/A N/A N/A np_x append N/A N/A N/A N/A rng randint 0 10 N/A N/A N/A rng random_integers 5 N/A N/A rng random_integers 5 astype dtype N/A dtype dtypes N/A N/A N/A N/A np_W append N/A N/A rng rand 10 N/A N/A N/A np random randint 1 10 N/A N/A N/A np_x append N/A N/A N/A N/A rng randint 0 10 N/A N/A N/A rng random_integers 5 astype dtype N/A tensor_W N/A N/A sharedX W N/A W np_W N/A matrixmul N/A N/A MatrixMul W N/A W tensor_W N/A N/A all N/A N/A N/A N/A N/A mm get_params N/A 0 W N/A N/A mm W N/A zip matrixmul tensor_W N/A fn N/A N/A N/A theano function N/A x N/A N/A mm project x N/A N/A x mm N/A zip tensor_x matrixmul N/A N/A W x f N/A zip np_W np_x fn N/A N/A W_x N/A W N/A x N/A N/A N/A x ndim 2 N/A N/A W_x N/A N/A W_x reshape N/A N/A N/A W_x shape N/A 0 N/A N/A np prod N/A N/A W_x shape N/A 1 N/A N/A W_x N/A N/A W_x flatten N/A N/A N/A N/A np testing assert_allclose N/A f x W_x N/A