Package topo :: Package sheets :: Module optimized :: Class LISSOM_Opt
[hide private]
[frames] | no frames]

Class LISSOM_Opt

source code

                                  object --+                            
                                           |                            
base.parameterizedobject.ParameterizedObject --+                        
                                               |                        
                  base.simulation.EventProcessor --+                    
                                                   |                    
                                      object --+   |                    
                                               |   |                    
          base.sheetcoords.SheetCoordinateSystem --+                    
                                                   |                    
                                    base.sheet.Sheet --+                
                                                       |                
                         base.projection.ProjectionSheet --+            
                                                           |            
                                             base.cf.CFSheet --+        
                                                               |        
                                  lissom.JointNormalizingCFSheet --+    
                                                                   |    
                                                       lissom.LISSOM --+
                                                                       |
                                                                      LISSOM_Opt

Overrides the function JointNormalizingCFSheet.__compute_joint_norm_totals with C-optimized code for LISSOM sheets.

Also adds a NeighborhoodMask, which skips computation for neurons sufficiently distant from all those activated in the first few steps of settling.



Nested Classes [hide private]

Inherited from base.parameterizedobject.ParameterizedObject: __metaclass__

Instance Methods [hide private]
 
__init__(self, **params)
Initialize this object as an EventProcessor, then also as a SheetCoordinateSystem with equal xdensity and ydensity.
source code
 
compute_joint_norm_totals(self, projlist, mask)
Compute norm_total for each CF in each projections from a group to be normalized jointly.
source code

Inherited from lissom.LISSOM: input_event, printwts, process_current_time, start, state_pop, state_push

Inherited from lissom.JointNormalizingCFSheet: learn

Inherited from base.cf.CFSheet: release_unit_view, update_unit_view

Inherited from base.projection.ProjectionSheet: activate, override_plasticity_state, present_input, projections, restore_plasticity_state

Inherited from base.sheet.Sheet: activity_len, release_sheet_view, row_col_sheetcoords, sheet_cols, sheet_offset, sheet_rows

Inherited from base.simulation.EventProcessor: script_repr, send_output

Inherited from base.simulation.EventProcessor (private): _src_connect

Inherited from base.parameterizedobject.ParameterizedObject: __getstate__, __repr__, __setstate__, __str__, as_uninitialized, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, verbose, warning

Inherited from base.sheetcoords.SheetCoordinateSystem: bounds2slice, closest_cell_center, matrix2sheet, matrixidx2sheet, sheet2matrix, sheet2matrixidx, sheetcoordinates_of_matrixidx, slice2bounds

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from base.parameterizedobject.ParameterizedObject: params, print_param_defaults

Class Variables [hide private]

Inherited from lissom.LISSOM: continuous_learning, mask_init_time, output_fn, post_initialization_weights_output_fn, precedence, tsettle

Inherited from base.cf.CFSheet: measure_maps

Inherited from base.projection.ProjectionSheet: apply_output_fn, dest_ports, mask, src_ports

Inherited from base.sheet.Sheet: layout_location, nominal_bounds, nominal_density, plastic

Inherited from base.parameterizedobject.ParameterizedObject: name, print_level

Properties [hide private]

Inherited from base.sheetcoords.SheetCoordinateSystem: shape, xdensity, ydensity

Inherited from object: __class__

Method Details [hide private]

__init__(self, **params)
(Constructor)

source code 

Initialize this object as an EventProcessor, then also as a SheetCoordinateSystem with equal xdensity and ydensity.

sheet_views is a dictionary that stores SheetViews, i.e. representations of the sheet for use by analysis or plotting code.

Overrides: lissom.LISSOM.__init__

compute_joint_norm_totals(self, projlist, mask)

source code 
Compute norm_total for each CF in each projections from a group to be normalized jointly. The same assumptions are made as in the original function.
Overrides: lissom.JointNormalizingCFSheet.compute_joint_norm_totals