Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Call NameLoad Str Str Str Call NameLoad Str Str Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr If CompareNotEq NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign SubscriptStore NameLoad Index Str Call NameLoad Str Str NameLoad Return TupleLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list decorator_list
N/A __future__ division print_function unicode_literals collections OrderedDict brainstorm.layers.base_layer Layer brainstorm.structure.buffer_structure BufferStructure StructureTemplate brainstorm.structure.construction ConstructionWrapper brainstorm.utils LayerValidationError flatten_time_and_features SquaredDifference N/A N/A name N/A None N/A N/A Create a Squared Difference layer. N/A N/A N/A ConstructionWrapper create SquaredDifferenceLayerImpl name name N/A SquaredDifferenceLayerImpl N/A Layer N/A N/A expected_inputs N/A inputs_1 inputs_2 N/A StructureTemplate T B ... N/A StructureTemplate T B ... N/A expected_kwargs N/A setup N/A N/A self kwargs in_shapes N/A N/A N/A f_shape1 N/A N/A in_shapes N/A inputs_1 feature_shape N/A f_shape2 N/A N/A in_shapes N/A inputs_2 feature_shape N/A N/A f_shape1 f_shape2 N/A N/A N/A LayerValidationError N/A N/A {}: inputs_1 and inputs_2 must have same feature shapes but got {} and {} format N/A self name f_shape1 f_shape2 N/A outputs N/A OrderedDict N/A N/A outputs N/A default N/A BufferStructure T B f_shape1 N/A internals N/A OrderedDict N/A feature_shape N/A N/A N/A self in_shapes N/A inputs_1 feature_shape N/A N/A internals N/A diff N/A BufferStructure T B feature_shape N/A N/A outputs N/A OrderedDict internals N/A forward_pass N/A N/A self buffers training_pass N/A True N/A N/A _h N/A self handler N/A inputs_1 N/A flatten_time_and_features N/A N/A buffers inputs inputs_1 N/A inputs_2 N/A flatten_time_and_features N/A N/A buffers inputs inputs_2 N/A diff N/A flatten_time_and_features N/A N/A buffers internals diff N/A outputs N/A flatten_time_and_features N/A N/A buffers outputs default N/A N/A N/A _h subtract_tt inputs_1 inputs_2 out diff N/A N/A N/A _h mult_tt diff diff out outputs N/A backward_pass N/A N/A self buffers N/A N/A N/A _h N/A self handler N/A out_deltas N/A flatten_time_and_features N/A N/A buffers output_deltas default N/A diff N/A flatten_time_and_features N/A N/A buffers internals diff N/A dinputs_1 N/A flatten_time_and_features N/A N/A buffers input_deltas inputs_1 N/A dinputs_2 N/A flatten_time_and_features N/A N/A buffers input_deltas inputs_2 N/A tmp N/A N/A _h allocate N/A out_deltas shape N/A N/A N/A _h mult_st 2 out_deltas out out_deltas N/A N/A N/A _h mult_add_tt out_deltas diff out dinputs_1 N/A N/A N/A _h mult_st -1 diff out tmp N/A N/A N/A _h mult_add_tt out_deltas tmp out dinputs_2 N/A N/A