Module ImportFrom alias Import alias identifier Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Str NameLoad TupleLoad Str BinOpDiv Num BinOpAdd Num Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad TupleLoad Str BinOpDiv Num BinOpAdd Num Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad TupleLoad Str BinOpDiv Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad TupleLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TupleLoad Str Call AttributeLoad NameLoad attr NameLoad Num Num TupleLoad Str Call AttributeLoad NameLoad attr NameLoad Num Num TupleLoad Str Call AttributeLoad NameLoad attr NameLoad Num Num TupleLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Num Num Num TupleLoad Str BinOpSub NameLoad Call AttributeLoad NameLoad attr TupleLoad Str BinOpDiv NameLoad Call AttributeLoad Call NameLoad NameLoad attr TupleLoad Str BinOpDiv NameLoad Call AttributeLoad NameLoad attr TupleLoad Str BinOpDiv BinOpSub NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Str TupleLoad Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Str TupleLoad Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Str TupleLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Num TupleLoad Str BinOpDiv BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad attr FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str attr Assert Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str attr Assert Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword NameLoad keyword Str attr Assert CompareEq Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Str ListLoad Str TupleLoad Str ListLoad Str Str TupleLoad Str ListLoad Str Str
N/A __future__ division N/A numpy np N/A pytest N/A theanets N/A theano N/A PROBE N/A N/A np array N/A -10 -1 -0.1 0 0.1 1 10 f test_activation N/A N/A activation expected N/A N/A N/A layer N/A N/A N/A theanets layers Feedforward inputs x size 7 rng 13 N/A f N/A N/A N/A theanets activations build activation layer N/A actual N/A f N/A N/A theano shared PROBE N/A N/A hasattr actual eval N/A N/A actual N/A N/A actual eval N/A N/A N/A np allclose actual expected N/A N/A N/A N/A pytest mark parametrize activation, expected N/A N/A linear PROBE N/A logistic N/A 1 N/A 1 N/A N/A np exp N/A PROBE N/A sigmoid N/A 1 N/A 1 N/A N/A np exp N/A PROBE N/A softmax N/A N/A N/A np exp PROBE N/A sum N/A N/A np exp PROBE N/A softplus N/A N/A np log1p N/A N/A np exp PROBE N/A relu N/A N/A np clip PROBE 0 100 N/A rect:max N/A N/A np clip PROBE 0 100 N/A rect:min N/A N/A np clip PROBE -100 1 N/A rect:minmax N/A N/A np clip N/A N/A np clip PROBE 0 100 -100 1 N/A norm:mean N/A PROBE N/A N/A PROBE mean N/A norm:max N/A PROBE N/A N/A N/A abs PROBE max N/A norm:std N/A PROBE N/A N/A PROBE std N/A norm:z N/A N/A PROBE N/A N/A PROBE mean N/A N/A PROBE std N/A prelu N/A N/A np array N/A -0.71239 -0.0753766 -0.0004450307 0 0.1 1 10 f N/A lgrelu N/A N/A np array N/A -0.8612113 -0.1478685 -0.0104537 0 0.013451 0.0532337 1.350188 f N/A maxout:3 N/A N/A np array N/A 8.31461 -0.59702 1.31311 1.89274 0.6057 1.38634 6.16415 f N/A relu+tanh N/A N/A np tanh N/A N/A np clip PROBE 0 100 N/A softplus+norm:z N/A N/A N/A N/A np log1p N/A N/A np exp PROBE N/A N/A N/A N/A np log1p N/A N/A np exp PROBE mean N/A N/A N/A N/A np log1p N/A N/A np exp PROBE std test_build N/A N/A N/A N/A N/A a N/A N/A N/A N/A theanets layers Feedforward inputs x size 3 activation relu activate N/A N/A callable a N/A N/A N/A a name relu N/A N/A N/A a params N/A N/A test_build_composed N/A N/A N/A N/A N/A a N/A N/A N/A N/A theanets layers Feedforward inputs x size 3 activation relu+norm:z activate N/A N/A callable a N/A N/A N/A a name norm:z(relu) N/A a name N/A N/A N/A a params N/A N/A test_parameters N/A N/A activation expected N/A N/A N/A a N/A N/A N/A N/A theanets layers Feedforward inputs x size 3 activation activation name l activate N/A N/A N/A sorted N/A N/A p name N/A p N/A a params expected N/A N/A N/A N/A pytest mark parametrize activation, expected N/A N/A prelu N/A l.leak N/A lgrelu N/A l.gain l.leak N/A maxout:4 N/A l.intercept l.slope