Module Expr Str Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign NameStore Call NameLoad BinOpDiv NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad keyword NameLoad Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index Num Slice attr Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num SubscriptLoad NameLoad Index TupleLoad Num Num decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign NameStore Call NameLoad BinOpDiv NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad keyword NameLoad Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index Num Slice attr Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index TupleLoad Num Num Num SubscriptLoad NameLoad Index TupleLoad Num Num decorator_list
N/A N/A 
Tests of functionality in norm_constraint.py
 N/A numpy np theano.compat OrderedDict theano function pylearn2.models.model Model pylearn2.model_extensions.norm_constraint ConstrainFilterMaxNorm pylearn2.model_extensions.norm_constraint MaxL2FilterNorm pylearn2.utils sharedX ModelWithW N/A Model N/A N/A 
    A dummy model that has some weights.

    Parameters
    ----------
    W : 2-D theano shared
        The model's weights.
     __init__ N/A N/A self W N/A N/A N/A N/A self W W N/A N/A N/A N/A super ModelWithW self __init__ N/A N/A test_max_l2_filter_norm N/A N/A N/A N/A N/A 
    Test that MaxL2FilterNorm matches a manual implementation.
     N/A limit 1.0 N/A ext N/A MaxL2FilterNorm limit N/A W N/A N/A np zeros N/A 2 4 N/A N/A W N/A N/A 0 1 0.5 N/A N/A W N/A N/A 0 2 1.0 N/A N/A W N/A N/A 0 3 2.0 N/A W N/A sharedX N/A W 2.0 N/A model N/A ModelWithW W N/A N/A N/A N/A model extensions append ext N/A updates N/A OrderedDict N/A N/A updates N/A W N/A W 2.0 N/A N/A N/A model modify_updates updates N/A f N/A function N/A updates updates N/A N/A f N/A W N/A N/A W get_value N/A N/A N/A W shape N/A 2 4 N/A N/A N/A N/A N/A N/A np abs N/A W N/A N/A 1 N/A max 0 N/A N/A N/A W N/A N/A 0 0 0.0 N/A N/A N/A W N/A N/A 0 1 0.5 N/A N/A N/A W N/A N/A 0 2 1.0 N/A N/A N/A W N/A N/A 0 3 1.0 N/A W N/A N/A 0 3 N/A test_constrain_filter_max_norm N/A N/A N/A N/A N/A 
    Test that ConstrainFilterNorm matches a manual implementation.
     N/A limit 1.0 N/A ext N/A ConstrainFilterMaxNorm limit N/A W N/A N/A np zeros N/A 2 4 N/A N/A W N/A N/A 0 1 0.5 N/A N/A W N/A N/A 0 2 1.0 N/A N/A W N/A N/A 0 3 2.0 N/A W N/A sharedX N/A W 2.0 N/A model N/A ModelWithW W N/A N/A N/A N/A model extensions append ext N/A updates N/A OrderedDict N/A N/A updates N/A W N/A W 2.0 N/A N/A N/A model modify_updates updates N/A f N/A function N/A updates updates N/A N/A f N/A W N/A N/A W get_value N/A N/A N/A W shape N/A 2 4 N/A N/A N/A N/A N/A N/A np abs N/A W N/A N/A 1 N/A max 0 N/A N/A N/A W N/A N/A 0 0 0.0 N/A N/A N/A W N/A N/A 0 1 0.5 N/A N/A N/A W N/A N/A 0 2 1.0 N/A N/A N/A W N/A N/A 0 3 1.0 N/A W N/A N/A 0 3 N/A