Module ImportFrom alias alias alias Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Str Str Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Str Str Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Str Str Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Str Str Num Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad keyword TupleLoad Num Num Num keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Call NameLoad Str Str Num Num Call NameLoad Str Str Num Num Call NameLoad Str Str Num Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Call NameLoad Str Str Num Num Call NameLoad Str Str Num Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Call NameLoad Str Str Num Num Call NameLoad Str Str Num Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Num Assign NameStore TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad Assign NameStore Dict Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad NameLoad NameLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Dict Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore TupleLoad Num Num Num Assign NameStore BinOpAdd TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad Assign NameStore Dict Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Str Call NameLoad Str Str Num Num Call NameLoad Str Str Num NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Num Num Num Num TupleLoad Num Num TupleLoad Num Num body Assign NameStore Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad Str Dict Str NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword TupleLoad Num Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword TupleLoad Num Num Num keyword Num keyword TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad keyword TupleLoad Num Num keyword TupleLoad Num Num keyword Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad keyword TupleLoad Num Num keyword TupleLoad Num Num keyword Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Num Num NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Call NameLoad Str Str Num Num Call NameLoad Str Str Num Num Assign NameStore Call NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListLoad TupleLoad Num Num Str TupleLoad Num Num Str TupleLoad Num Num Str TupleLoad Num Num Str Assign NameStore ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Return Dict Str Str Str NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Continue For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Continue AugAssignBitAnd NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Continue For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Continue AugAssignBitAnd NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assert Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assert Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Num For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index NameLoad Num NameLoad keyword NameLoad keyword NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str BinOpAdd SubscriptLoad NameLoad Index NameLoad Num Expr Call NameLoad Str BinOpSub BinOpAdd SubscriptLoad NameLoad Index NameLoad Num NameLoad Assert NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Num Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr TupleLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call NameLoad NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad Num attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num If UnaryOpNot NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad Str Expr Call NameLoad NameLoad Expr Call NameLoad Str Expr Call NameLoad NameLoad Expr Call NameLoad Str Expr Call NameLoad BinOpSub NameLoad NameLoad Assert NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Str NameLoad Assert CompareEq Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Str Str Str Assign NameStore Call NameLoad Str Str Str Str Assign NameStore Call NameLoad Str Str Str Str Assign NameStore Call NameLoad Str Dict Str Call NameLoad Str Str Num Set NameLoad Set NameLoad NameLoad keyword Num Assign NameStore Dict Str Call NameLoad Str Str Num Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Dict Str Call NameLoad Str Str Num Assert CompareEq AttributeLoad NameLoad attr Set NameLoad Assert CompareEq AttributeLoad NameLoad attr Set NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Dict Str Num decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Str Dict Str TupleLoad Str Str Num NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Str Dict Str TupleLoad Str Str Num NameLoad NameLoad keyword Dict Str TupleLoad Str Str Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Assign NameStore Call NameLoad Str Dict Str Call NameLoad Num NameLoad NameLoad keyword Num Assert CompareIn Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad NameLoad
N/A __future__ division print_function unicode_literals N/A numpy np N/A pytest brainstorm.layers.base_layer get_layer_class_from_typename brainstorm.layers.batch_normalization_layer BatchNormLayerImpl brainstorm.layers.binomial_cross_entropy_layer BinomialCrossEntropyLayerImpl brainstorm.layers.softmax_ce_layer SoftmaxCELayerImpl brainstorm.layers.sigmoid_ce_layer SigmoidCELayerImpl brainstorm.layers.convolution_layer_2d Convolution2DLayerImpl brainstorm.layers.elementwise_layer ElementwiseLayerImpl brainstorm.layers.fully_connected_layer FullyConnectedLayerImpl brainstorm.layers.highway_layer HighwayLayerImpl brainstorm.layers.input_layer InputLayerImpl brainstorm.layers.l1_decay L1DecayLayerImpl brainstorm.layers.l2_decay L2DecayLayerImpl brainstorm.layers.loss_layer LossLayerImpl brainstorm.layers.lstm_layer LstmLayerImpl brainstorm.layers.mask_layer MaskLayerImpl brainstorm.layers.noop_layer NoOpLayerImpl brainstorm.layers.pooling_layer_2d Pooling2DLayerImpl brainstorm.layers.recurrent_layer RecurrentLayerImpl brainstorm.layers.squared_error_layer SquaredErrorLayerImpl brainstorm.layers.squared_difference_layer SquaredDifferenceLayerImpl brainstorm.structure.architecture Connection brainstorm.structure.buffer_structure BufferStructure brainstorm.utils LayerValidationError brainstorm.layers.clockwork_layer ClockworkLayerImpl brainstorm.layers.clockwork_lstm_layer ClockworkLstmLayerImpl brainstorm.layers.merge_layer MergeLayerImpl brainstorm.tests.helpers HANDLER approx_fprime run_deltas_test run_gradients_test set_up_layer N/A N/A N/A N/A np random seed 1234 N/A NO_CON N/A set noop_layer N/A N/A spec N/A N/A N/A in_shapes N/A default N/A BufferStructure T B 5 N/A layer N/A NoOpLayerImpl NoOpLayer in_shapes NO_CON NO_CON N/A N/A layer spec N/A loss_layer N/A N/A spec N/A N/A N/A in_shapes N/A default N/A BufferStructure T B 5 N/A layer N/A LossLayerImpl LossLayer in_shapes NO_CON NO_CON N/A N/A layer spec N/A fully_connected_layer N/A N/A spec N/A N/A N/A in_shapes N/A default N/A BufferStructure T B 5 N/A layer N/A FullyConnectedLayerImpl FullyConnectedLayer in_shapes NO_CON NO_CON size 4 activation N/A spec N/A activation N/A N/A layer spec N/A fully_connected_layer_2d N/A N/A spec N/A N/A N/A in_shapes N/A default N/A BufferStructure T B 2 3 N/A layer N/A FullyConnectedLayerImpl FullyConnectedLayer in_shapes NO_CON NO_CON size N/A 3 3 1 activation N/A spec N/A activation N/A N/A layer spec N/A highway_layer N/A N/A spec N/A N/A N/A in_shapes N/A H T x N/A BufferStructure T B 2 3 N/A BufferStructure T B 2 3 N/A BufferStructure T B 2 3 N/A layer N/A HighwayLayerImpl HighwayLayer in_shapes NO_CON NO_CON N/A N/A layer spec N/A squared_difference_layer N/A N/A spec N/A N/A N/A in_shapes N/A inputs_1 inputs_2 N/A BufferStructure T B 3 2 N/A BufferStructure T B 3 2 N/A layer N/A SquaredDifferenceLayerImpl SquaredDifferenceLayer in_shapes NO_CON NO_CON N/A N/A layer spec N/A squared_error_layer N/A N/A spec N/A N/A N/A in_shapes N/A default targets N/A BufferStructure T B 3 2 N/A BufferStructure T B 3 2 N/A layer N/A SquaredErrorLayerImpl SquaredErrorLayer in_shapes NO_CON NO_CON N/A N/A layer spec N/A binomial_crossentropy_layer N/A N/A spec N/A N/A N/A time_steps N/A N/A spec get time_steps 3 N/A batch_size N/A N/A spec get batch_size 2 N/A size 5 N/A shape N/A time_steps batch_size size N/A default N/A N/A N/A np random rand shape N/A targets N/A N/A N/A np random randint 0 2 shape N/A in_shapes N/A default targets N/A BufferStructure T B size N/A BufferStructure T B size N/A layer N/A BinomialCrossEntropyLayerImpl BinomialCrossEntropyError in_shapes NO_CON NO_CON N/A N/A spec N/A default default N/A N/A spec N/A targets targets N/A N/A layer spec N/A softmax_ce_layer N/A N/A spec N/A N/A N/A time_steps N/A N/A spec get time_steps 3 N/A batch_size N/A N/A spec get batch_size 2 N/A feature_dim N/A 2 3 5 N/A target_shape N/A time_steps batch_size 2 3 1 N/A targets N/A N/A N/A np random randint 0 N/A feature_dim N/A -1 target_shape N/A in_shapes N/A default targets N/A BufferStructure T B feature_dim N/A BufferStructure T B N/A target_shape N/A 2 N/A layer N/A SoftmaxCELayerImpl SoftmaxCELayer in_shapes NO_CON NO_CON N/A N/A spec N/A targets targets N/A N/A layer spec N/A sigmoid_ce_layer N/A N/A spec N/A N/A N/A time_steps N/A N/A spec get time_steps 3 N/A batch_size N/A N/A spec get batch_size 2 N/A feature_dim N/A 2 3 5 N/A target_shape N/A N/A time_steps batch_size feature_dim N/A targets N/A N/A N/A np random randint 0 2 target_shape N/A in_shapes N/A default targets N/A BufferStructure T B feature_dim N/A BufferStructure T B N/A target_shape N/A 2 N/A layer N/A SigmoidCELayerImpl SigmoidCELayer in_shapes NO_CON NO_CON N/A N/A spec N/A targets targets N/A N/A layer spec N/A rnn_layer N/A N/A spec N/A N/A N/A layer N/A RecurrentLayerImpl RnnLayer N/A default N/A BufferStructure T B 3 NO_CON NO_CON size 4 activation N/A spec N/A activation N/A N/A layer spec N/A rnn_layer_2d N/A N/A spec N/A N/A N/A layer N/A RecurrentLayerImpl RnnLayer N/A default N/A BufferStructure T B 2 1 2 NO_CON NO_CON size 3 activation N/A spec N/A activation N/A N/A layer spec N/A lstm_layer N/A N/A spec N/A N/A N/A layer N/A LstmLayerImpl LstmLayer N/A default N/A BufferStructure T B 3 NO_CON NO_CON size 4 activation N/A spec N/A activation N/A N/A layer spec N/A lstm_layer_2d N/A N/A spec N/A N/A N/A layer N/A LstmLayerImpl LstmLayer N/A default N/A BufferStructure T B 2 2 1 NO_CON NO_CON size 3 activation N/A spec N/A activation N/A N/A layer spec N/A mask_layer N/A N/A spec N/A N/A N/A layer N/A MaskLayerImpl MaskLayer N/A default mask N/A BufferStructure T B 3 2 N/A BufferStructure T B 1 NO_CON NO_CON N/A N/A layer spec N/A convolution_layer_2d N/A N/A spec input_shape num_filters kernel_size stride N/A N/A 4 4 1 1 N/A 2 2 N/A 1 1 N/A N/A x N/A BufferStructure T B input_shape N/A layer N/A Convolution2DLayerImpl Convolution2DLayer N/A default x NO_CON NO_CON num_filters num_filters kernel_size kernel_size stride stride activation N/A spec N/A activation N/A N/A layer spec N/A convolution_layer_2d_a N/A N/A spec N/A N/A N/A N/A convolution_layer_2d spec input_shape N/A 3 4 2 N/A convolution_layer_2d_b N/A N/A spec N/A N/A N/A N/A convolution_layer_2d spec input_shape N/A 3 4 2 num_filters 2 N/A convolution_layer_2d_c N/A N/A spec N/A N/A N/A N/A convolution_layer_2d spec input_shape N/A 3 4 2 num_filters 2 kernel_size N/A 2 3 N/A maxpooling_layer_2d N/A N/A spec N/A N/A N/A layer N/A Pooling2DLayerImpl Pooling2DLayer N/A default N/A BufferStructure T B 4 4 1 NO_CON NO_CON kernel_size N/A 2 2 stride N/A 1 1 type max N/A N/A layer spec N/A avgpooling_layer_2d N/A N/A spec N/A N/A N/A layer N/A Pooling2DLayerImpl Pooling2DLayer N/A default N/A BufferStructure T B 4 4 1 NO_CON NO_CON kernel_size N/A 2 2 stride N/A 1 1 type avg N/A N/A layer spec N/A batch_norm_layer_fc N/A N/A spec N/A N/A N/A layer N/A BatchNormLayerImpl BatchNorm N/A default N/A BufferStructure T B 3 NO_CON NO_CON N/A N/A layer spec N/A batch_norm_layer_nhwc N/A N/A spec N/A N/A N/A layer N/A BatchNormLayerImpl BatchNorm N/A default N/A BufferStructure T B 3 2 4 NO_CON NO_CON N/A N/A layer spec N/A elementwise_layer N/A N/A spec N/A N/A N/A layer N/A ElementwiseLayerImpl Elementwise N/A default N/A BufferStructure T B 3 2 NO_CON NO_CON activation N/A spec N/A activation N/A N/A layer spec N/A l1_decay_layer N/A N/A spec N/A N/A N/A layer N/A L1DecayLayerImpl L1Decay N/A default N/A BufferStructure T B 3 2 NO_CON NO_CON N/A N/A layer spec N/A l2_decay_layer N/A N/A spec N/A N/A N/A layer N/A L2DecayLayerImpl L2Decay N/A default N/A BufferStructure T B 3 2 NO_CON NO_CON N/A N/A layer spec N/A clockwork_layer N/A N/A spec N/A N/A N/A layer N/A ClockworkLayerImpl ClockworkRnn N/A default N/A BufferStructure T B 3 NO_CON NO_CON size 7 activation N/A spec N/A activation N/A N/A spec N/A inits N/A timing N/A N/A np array N/A 1 1 2 2 3 3 5 N/A N/A layer spec N/A clockwork_layer_2d N/A N/A spec N/A N/A N/A layer N/A ClockworkLayerImpl ClockworkRnn N/A default N/A BufferStructure T B 2 1 2 NO_CON NO_CON size 7 activation N/A spec N/A activation N/A N/A spec N/A inits N/A timing N/A N/A np array N/A 1 1 2 2 3 3 5 N/A N/A layer spec N/A clockwork_lstm_layer N/A N/A spec N/A N/A N/A layer N/A ClockworkLstmLayerImpl ClockworkLstm N/A default N/A BufferStructure T B 3 NO_CON NO_CON size 4 activation N/A spec N/A activation N/A N/A spec N/A inits N/A timing N/A N/A np array N/A 1 2 2 3 N/A N/A layer spec N/A clockwork_lstm_layer_2d N/A N/A spec N/A N/A N/A layer N/A ClockworkLstmLayerImpl ClockworkLstm N/A default N/A BufferStructure T B 1 2 2 NO_CON NO_CON size 3 activation N/A spec N/A activation N/A N/A spec N/A inits N/A timing N/A N/A np array N/A 1 2 3 N/A N/A layer spec N/A merge N/A N/A spec N/A N/A N/A in_shapes N/A inputs_1 inputs_2 N/A BufferStructure T B 3 2 N/A BufferStructure T B 3 4 N/A layer N/A MergeLayerImpl Merge in_shapes NO_CON NO_CON N/A N/A layer spec N/A N/A layers_to_test N/A noop_layer loss_layer fully_connected_layer fully_connected_layer_2d highway_layer binomial_crossentropy_layer softmax_ce_layer sigmoid_ce_layer rnn_layer rnn_layer_2d squared_difference_layer squared_error_layer lstm_layer lstm_layer_2d mask_layer convolution_layer_2d_a convolution_layer_2d_b convolution_layer_2d_c convolution_layer_2d maxpooling_layer_2d avgpooling_layer_2d batch_norm_layer_fc batch_norm_layer_nhwc elementwise_layer l1_decay_layer l2_decay_layer clockwork_layer clockwork_layer_2d clockwork_lstm_layer clockwork_lstm_layer_2d merge N/A ids N/A N/A f __name__ N/A f layers_to_test N/A spec_list N/A N/A 1 1 tanh N/A 4 1 sigmoid N/A 2 3 rel N/A 1 3 linear N/A spec_ids N/A N/A N/A {}{}{} format p N/A p spec_list spec N/A N/A request N/A N/A N/A N/A time_steps batch_size activation N/A request param N/A N/A time_steps batch_size activation time_steps batch_size activation N/A N/A N/A pytest fixture params spec_list ids spec_ids layer_specs N/A N/A request spec N/A N/A N/A N/A layer specs N/A N/A request param spec N/A N/A layer specs N/A N/A N/A pytest fixture params layers_to_test ids ids test_deltas_calculation_of_layer N/A N/A layer_specs N/A N/A N/A N/A layer specs layer_specs N/A successful True N/A outputs_name N/A layer out_shapes N/A N/A N/A outputs_name N/A layer takes_no_output_deltas_from N/A N/A N/A inputs_name N/A layer in_shapes N/A N/A N/A inputs_name N/A layer computes_no_input_deltas_for N/A N/A N/A successful N/A run_deltas_test layer specs inputs_name outputs_name N/A successful N/A N/A Deltas check failed for {} format N/A layer name N/A test_gradients_for_layer N/A N/A layer_specs N/A N/A N/A N/A layer specs layer_specs N/A successful True N/A outputs_name N/A layer out_shapes N/A N/A N/A outputs_name N/A layer takes_no_output_deltas_from N/A N/A N/A param_name N/A layer parameter_shapes N/A N/A N/A param_name N/A layer computes_no_gradients_for N/A N/A N/A successful N/A run_gradients_test layer specs param_name outputs_name N/A successful N/A N/A Gradients check failed for {} format N/A layer name N/A test_layer_forward_pass_insensitive_to_internal_state_init N/A N/A layer_specs N/A N/A N/A N/A layer specs layer_specs N/A layer_buffers N/A set_up_layer layer specs N/A time_steps N/A N/A specs get time_steps 3 N/A eps N/A N/A specs get eps 1e-08 N/A N/A N/A layer forward_pass layer_buffers N/A outputs N/A N/A N/A key value N/A N/A N/A layer_buffers outputs items N/A N/A N/A outputs N/A key N/A N/A HANDLER get_numpy_copy value N/A N/A internal shape_template N/A N/A N/A layer internal_shapes items N/A N/A value N/A N/A layer_buffers internals N/A internal N/A N/A shape_template scales_with_time N/A N/A N/A N/A HANDLER set_from_numpy N/A value N/A time_steps N/A N/A N/A np random randn time_steps N/A N/A value shape N/A 1 N/A N/A N/A N/A HANDLER set_from_numpy value N/A N/A N/A np random randn N/A value shape N/A N/A N/A layer forward_pass layer_buffers N/A N/A key value N/A N/A N/A layer_buffers outputs items N/A N/A N/A N/A np allclose N/A outputs N/A key N/A N/A HANDLER get_numpy_copy value rtol eps atol eps internal N/A test_layer_backward_pass_insensitive_to_internal_state_init N/A N/A layer_specs N/A N/A N/A N/A layer specs layer_specs N/A layer_buffers N/A set_up_layer layer specs N/A time_steps N/A N/A specs get time_steps 3 N/A eps N/A N/A specs get eps 1e-08 N/A N/A N/A layer forward_pass layer_buffers N/A N/A N/A layer backward_pass layer_buffers N/A deltas N/A N/A N/A key value N/A N/A N/A layer_buffers input_deltas items N/A N/A N/A deltas N/A key N/A N/A HANDLER get_numpy_copy value N/A N/A internal shape_template N/A N/A N/A layer internal_shapes items N/A N/A value N/A N/A layer_buffers internals N/A internal N/A N/A shape_template scales_with_time N/A N/A N/A N/A HANDLER set_from_numpy N/A value N/A time_steps N/A N/A N/A np random randn time_steps N/A N/A value shape N/A 1 N/A N/A N/A N/A HANDLER set_from_numpy value N/A N/A N/A np random randn N/A value shape N/A N/A k v N/A N/A N/A layer_buffers input_deltas items N/A N/A N/A N/A HANDLER fill v 0.0 N/A N/A N/A layer forward_pass layer_buffers N/A N/A N/A layer backward_pass layer_buffers N/A N/A key value N/A N/A N/A layer_buffers input_deltas items N/A N/A N/A N/A np allclose N/A deltas N/A key N/A N/A HANDLER get_numpy_copy value rtol eps atol eps N/A N/A Failed for internal.{} when inspecting {} format internal key N/A test_layer_add_to_deltas N/A N/A layer_specs N/A N/A N/A N/A layer specs layer_specs N/A layer_buffers N/A set_up_layer layer specs N/A eps N/A N/A specs get eps 1e-08 N/A key N/A N/A N/A layer_buffers output_deltas keys N/A N/A N/A N/A HANDLER fill N/A N/A layer_buffers output_deltas N/A key 1.0 N/A N/A N/A layer forward_pass layer_buffers N/A N/A N/A layer backward_pass layer_buffers N/A deltas N/A N/A N/A key value N/A N/A N/A layer_buffers input_deltas items N/A N/A N/A deltas N/A key N/A N/A HANDLER get_numpy_copy value N/A N/A key value N/A N/A N/A layer_buffers internals items N/A N/A N/A N/A HANDLER fill value 0 N/A N/A key value N/A N/A N/A layer_buffers gradients items N/A N/A N/A N/A HANDLER fill value 0 N/A N/A key value N/A N/A N/A layer_buffers input_deltas items N/A N/A N/A N/A HANDLER fill value 1.0 N/A key N/A N/A N/A layer_buffers output_deltas keys N/A N/A N/A N/A HANDLER fill N/A N/A layer_buffers output_deltas N/A key 1.0 N/A N/A N/A layer forward_pass layer_buffers N/A N/A N/A layer backward_pass layer_buffers N/A N/A key value N/A N/A N/A layer_buffers input_deltas items N/A N/A obtained N/A N/A HANDLER get_numpy_copy value N/A passed N/A N/A np allclose N/A N/A deltas N/A key 1.0 obtained rtol eps atol eps N/A N/A passed N/A N/A N/A print N/A N/A Adding deltas test failed for {}! format key N/A N/A print Calculated Deltas:
 obtained N/A N/A print Expected Deltas:
 N/A N/A deltas N/A key 1.0 N/A N/A print Difference:
 N/A N/A N/A deltas N/A key 1.0 obtained N/A passed key N/A test_elementwise_act_func_gradients N/A N/A N/A N/A N/A pairs_to_test N/A N/A N/A HANDLER sigmoid N/A HANDLER sigmoid_deriv N/A N/A HANDLER tanh N/A HANDLER tanh_deriv N/A N/A HANDLER rel N/A HANDLER rel_deriv N/A test_shape N/A 3 2 4 N/A N/A fwd bwd pairs_to_test N/A N/A inputs N/A N/A HANDLER create_from_numpy N/A N/A N/A np random randn test_shape N/A outputs N/A N/A HANDLER zeros test_shape N/A doutputs N/A N/A HANDLER ones test_shape N/A dinputs N/A N/A HANDLER zeros test_shape N/A N/A fwd inputs outputs N/A N/A bwd inputs outputs doutputs dinputs N/A grad_calc N/A N/A HANDLER get_numpy_copy dinputs N/A size N/A inputs size N/A x0 N/A N/A N/A N/A HANDLER get_numpy_copy inputs reshape N/A size f N/A N/A x N/A N/A N/A flat_inputs N/A N/A inputs reshape N/A size N/A N/A N/A HANDLER set_from_numpy flat_inputs x N/A N/A N/A HANDLER fill outputs 0.0 N/A N/A fwd inputs outputs N/A N/A N/A N/A N/A HANDLER get_numpy_copy outputs sum N/A N/A grad_approx N/A N/A N/A approx_fprime x0 f 1e-05 reshape N/A grad_calc shape N/A close N/A N/A np allclose grad_approx grad_calc rtol 0.0001 atol 0.0001 N/A N/A close N/A N/A N/A print ----------------------------- N/A N/A print Testing N/A fwd __name__ N/A N/A print -- Approximated Gradient ---- N/A N/A print grad_approx N/A N/A print ---- Calculated Gradient ---- N/A N/A print grad_calc N/A N/A print ------------- Difference ---- N/A N/A print N/A grad_approx grad_calc N/A close N/A test_get_layer_class_from_typename N/A N/A N/A N/A N/A N/A N/A get_layer_class_from_typename InputLayerImpl InputLayerImpl N/A N/A N/A get_layer_class_from_typename NoOpLayerImpl NoOpLayerImpl N/A test_get_layer_class_from_typename_raises_typeerror N/A N/A N/A N/A N/A N/A N/A pytest raises TypeError N/A N/A N/A get_layer_class_from_typename NonexistentLayer N/A test_layer_constructor N/A N/A N/A N/A N/A a N/A Connection l default A default N/A b N/A Connection l default B default N/A c N/A Connection l default C default N/A l N/A FullyConnectedLayerImpl LayerName N/A default N/A BufferStructure T B 5 N/A c N/A a b size 8 N/A expected N/A default N/A BufferStructure T B 8 N/A N/A N/A l out_shapes expected N/A N/A N/A l in_shapes N/A default N/A BufferStructure T B 5 N/A N/A N/A l incoming N/A c N/A N/A N/A l outgoing N/A a b N/A N/A N/A l kwargs N/A size 8 N/A test_nooplayer_raises_on_size_mismatch N/A N/A N/A N/A N/A N/A N/A pytest raises LayerValidationError N/A N/A l N/A NoOpLayerImpl LayerName N/A default N/A T B 5 NO_CON NO_CON size 8 N/A test_inputlayer_raises_on_in_size N/A N/A N/A N/A N/A N/A N/A pytest raises LayerValidationError N/A N/A l N/A InputLayerImpl LayerName N/A default N/A T B 5 NO_CON NO_CON out_shapes N/A default N/A T B 5 N/A test_raises_on_unexpected_kwargs N/A N/A LayerClass N/A N/A N/A N/A N/A pytest raises LayerValidationError excinfo N/A N/A l N/A LayerClass LayerName N/A default N/A BufferStructure 5 NO_CON NO_CON some_foo 16 N/A N/A some_foo N/A N/A N/A excinfo value args N/A 0 N/A N/A N/A N/A pytest mark parametrize LayerClass N/A NoOpLayerImpl FullyConnectedLayerImpl