home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-08-28 | 51.0 KB | 2,515 lines |
- inst2.0 !15:00 03-Jun-88 (tsp.ins) TSP Network Builder Model
- !****************************************************************
- !* *
- !* TSP Network Generator *
- !* *
- !****************************************************************
-
- ! *** check that input PE count is non-zero
-
-
- =n3 16 ! Number of PEs per 3 major layers
-
- ! *** Load the Control Strategy and LRS if needed
-
- @LdCS "tsp" !control strategy
- @LdLR "tsp" !L/R schedule
- @LdSt "tsp" !style sheet = TSP
-
- =netn "InstaNet (tm) TSP Network version 1.00 20-Jun-88"
- =DLnF 0 !learn re-display off
- =DRcF 0 !recall re-display off
-
- ! *** Build the Input Layer ***
-
- @LLdf !load default layer to mi_layer structure
- =LDsp 3
- =LDln "Input" !layer name
- =Lpes n3 !copy # of input PEs from menu
- =x 100 !place to put layer on screen
- =y 35
- @LAdd !add the input layer
- =n0 LayN !track previous layer
- =n2 LayN !keep a pointer to this layer
-
- ! *** Build the Hopfield Layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Hopfield" !layer name
- =Lpes n3 !desired number of PEs
- =Lsum "CumSum" !summation function
- =Ltrn "Sigmoid" !transfer function
- =Lscl 1.0 ! add scale
- =Loff 0.0 ! add offset
- +y 235 !up higher on display
- @LAdd
-
- ! *** Connect it to the input layer ***
-
- =SPEl LayN !current layer
- @SlPE
- =NPEl n0 !input layer
- @NrPE
- =cnwt 1.0 !unit weight
- =cnsc WRel
- =cnty WSet
- @LCCr !connect corresponding items
-
- ! *** Connect it to itself ***
-
- =NPEl LayN !connect layer to itself
- =cnsc WAbs !absolute connection geometry
-
- =n0 LayN !track hopfield layer
-
-
-
-
- ! Distance Terms
-
- @PECN 0,7,-0.009724,M
- @PECN 0,5,-0.009724,M
- @PECN 0,11,-0.050000,M
- @PECN 0,9,-0.050000,M
- @PECN 0,15,-0.009724,M
- @PECN 0,13,-0.009724,M
- @PECN 1,4,-0.009724,M
- @PECN 1,6,-0.009724,M
- @PECN 1,8,-0.050000,M
- @PECN 1,10,-0.050000,M
- @PECN 1,12,-0.009724,M
- @PECN 1,14,-0.009724,M
- @PECN 2,5,-0.009724,M
- @PECN 2,7,-0.009724,M
- @PECN 2,9,-0.050000,M
- @PECN 2,11,-0.050000,M
- @PECN 2,13,-0.009724,M
- @PECN 2,15,-0.009724,M
- @PECN 3,6,-0.009724,M
- @PECN 3,4,-0.009724,M
- @PECN 3,10,-0.050000,M
- @PECN 3,8,-0.050000,M
- @PECN 3,14,-0.009724,M
- @PECN 3,12,-0.009724,M
- @PECN 4,3,-0.009724,M
- @PECN 4,1,-0.009724,M
- @PECN 4,11,-0.009724,M
- @PECN 4,9,-0.009724,M
- @PECN 4,15,-0.050000,M
- @PECN 4,13,-0.050000,M
- @PECN 5,0,-0.009724,M
- @PECN 5,2,-0.009724,M
- @PECN 5,8,-0.009724,M
- @PECN 5,10,-0.009724,M
- @PECN 5,12,-0.050000,M
- @PECN 5,14,-0.050000,M
- @PECN 6,1,-0.009724,M
- @PECN 6,3,-0.009724,M
- @PECN 6,9,-0.009724,M
- @PECN 6,11,-0.009724,M
- @PECN 6,13,-0.050000,M
- @PECN 6,15,-0.050000,M
- @PECN 7,2,-0.009724,M
- @PECN 7,0,-0.009724,M
- @PECN 7,10,-0.009724,M
- @PECN 7,8,-0.009724,M
- @PECN 7,14,-0.050000,M
- @PECN 7,12,-0.050000,M
- @PECN 8,3,-0.050000,M
- @PECN 8,1,-0.050000,M
- @PECN 8,7,-0.009724,M
- @PECN 8,5,-0.009724,M
- @PECN 8,15,-0.009724,M
- @PECN 8,13,-0.009724,M
- @PECN 9,0,-0.050000,M
- @PECN 9,2,-0.050000,M
- @PECN 9,4,-0.009724,M
- @PECN 9,6,-0.009724,M
- @PECN 9,12,-0.009724,M
- @PECN 9,14,-0.009724,M
- @PECN 10,1,-0.050000,M
- @PECN 10,3,-0.050000,M
- @PECN 10,5,-0.009724,M
- @PECN 10,7,-0.009724,M
- @PECN 10,13,-0.009724,M
- @PECN 10,15,-0.009724,M
- @PECN 11,2,-0.050000,M
- @PECN 11,0,-0.050000,M
- @PECN 11,6,-0.009724,M
- @PECN 11,4,-0.009724,M
- @PECN 11,14,-0.009724,M
- @PECN 11,12,-0.009724,M
- @PECN 12,3,-0.009724,M
- @PECN 12,1,-0.009724,M
- @PECN 12,7,-0.050000,M
- @PECN 12,5,-0.050000,M
- @PECN 12,11,-0.009724,M
- @PECN 12,9,-0.009724,M
- @PECN 13,0,-0.009724,M
- @PECN 13,2,-0.009724,M
- @PECN 13,4,-0.050000,M
- @PECN 13,6,-0.050000,M
- @PECN 13,8,-0.009724,M
- @PECN 13,10,-0.009724,M
- @PECN 14,1,-0.009724,M
- @PECN 14,3,-0.009724,M
- @PECN 14,5,-0.050000,M
- @PECN 14,7,-0.050000,M
- @PECN 14,9,-0.009724,M
- @PECN 14,11,-0.009724,M
- @PECN 15,2,-0.009724,M
- @PECN 15,0,-0.009724,M
- @PECN 15,6,-0.050000,M
- @PECN 15,4,-0.050000,M
- @PECN 15,10,-0.009724,M
- @PECN 15,8,-0.009724,M
-
- ! Inhibitory connections within row
-
- @PECN 0,1,-0.050000,F
- @PECN 0,2,-0.050000,F
- @PECN 0,3,-0.050000,F
- @PECN 1,0,-0.050000,F
- @PECN 1,2,-0.050000,F
- @PECN 1,3,-0.050000,F
- @PECN 2,0,-0.050000,F
- @PECN 2,1,-0.050000,F
- @PECN 2,3,-0.050000,F
- @PECN 3,0,-0.050000,F
- @PECN 3,1,-0.050000,F
- @PECN 3,2,-0.050000,F
- @PECN 4,5,-0.050000,F
- @PECN 4,6,-0.050000,F
- @PECN 4,7,-0.050000,F
- @PECN 5,4,-0.050000,F
- @PECN 5,6,-0.050000,F
- @PECN 5,7,-0.050000,F
- @PECN 6,4,-0.050000,F
- @PECN 6,5,-0.050000,F
- @PECN 6,7,-0.050000,F
- @PECN 7,4,-0.050000,F
- @PECN 7,5,-0.050000,F
- @PECN 7,6,-0.050000,F
- @PECN 8,9,-0.050000,F
- @PECN 8,10,-0.050000,F
- @PECN 8,11,-0.050000,F
- @PECN 9,8,-0.050000,F
- @PECN 9,10,-0.050000,F
- @PECN 9,11,-0.050000,F
- @PECN 10,8,-0.050000,F
- @PECN 10,9,-0.050000,F
- @PECN 10,11,-0.050000,F
- @PECN 11,8,-0.050000,F
- @PECN 11,9,-0.050000,F
- @PECN 11,10,-0.050000,F
- @PECN 12,13,-0.050000,F
- @PECN 12,14,-0.050000,F
- @PECN 12,15,-0.050000,F
- @PECN 13,12,-0.050000,F
- @PECN 13,14,-0.050000,F
- @PECN 13,15,-0.050000,F
- @PECN 14,12,-0.050000,F
- @PECN 14,13,-0.050000,F
- @PECN 14,15,-0.050000,F
- @PECN 15,12,-0.050000,F
- @PECN 15,13,-0.050000,F
- @PECN 15,14,-0.050000,F
-
- ! Inhibitory connections within column
-
- @PECN 0,4,-0.050000,F
- @PECN 0,8,-0.050000,F
- @PECN 0,12,-0.050000,F
- @PECN 4,0,-0.050000,F
- @PECN 4,8,-0.050000,F
- @PECN 4,12,-0.050000,F
- @PECN 8,0,-0.050000,F
- @PECN 8,4,-0.050000,F
- @PECN 8,12,-0.050000,F
- @PECN 12,0,-0.050000,F
- @PECN 12,4,-0.050000,F
- @PECN 12,8,-0.050000,F
- @PECN 1,5,-0.050000,F
- @PECN 1,9,-0.050000,F
- @PECN 1,13,-0.050000,F
- @PECN 5,1,-0.050000,F
- @PECN 5,9,-0.050000,F
- @PECN 5,13,-0.050000,F
- @PECN 9,1,-0.050000,F
- @PECN 9,5,-0.050000,F
- @PECN 9,13,-0.050000,F
- @PECN 13,1,-0.050000,F
- @PECN 13,5,-0.050000,F
- @PECN 13,9,-0.050000,F
- @PECN 2,6,-0.050000,F
- @PECN 2,10,-0.050000,F
- @PECN 2,14,-0.050000,F
- @PECN 6,2,-0.050000,F
- @PECN 6,10,-0.050000,F
- @PECN 6,14,-0.050000,F
- @PECN 10,2,-0.050000,F
- @PECN 10,6,-0.050000,F
- @PECN 10,14,-0.050000,F
- @PECN 14,2,-0.050000,F
- @PECN 14,6,-0.050000,F
- @PECN 14,10,-0.050000,F
- @PECN 3,7,-0.050000,F
- @PECN 3,11,-0.050000,F
- @PECN 3,15,-0.050000,F
- @PECN 7,3,-0.050000,F
- @PECN 7,11,-0.050000,F
- @PECN 7,15,-0.050000,F
- @PECN 11,3,-0.050000,F
- @PECN 11,7,-0.050000,F
- @PECN 11,15,-0.050000,F
- @PECN 15,3,-0.050000,F
- @PECN 15,7,-0.050000,F
- @PECN 15,11,-0.050000,F
- =SPEl n2 ! point at current layer
- @PEVL 0,0.209361
- @PEVL 1,0.191335
- @PEVL 2,0.199566
- @PEVL 3,0.208191
- @PEVL 4,0.197034
- @PEVL 5,0.208651
- @PEVL 6,0.203089
- @PEVL 7,0.190421
- @PEVL 8,0.200244
- @PEVL 9,0.194040
- @PEVL 10,0.208800
- @PEVL 11,0.194082
- @PEVL 12,0.197577
- @PEVL 13,0.205862
- @PEVL 14,0.195764
- @PEVL 15,0.195343
-
- ! Excitatory connections within row
-
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 10 !shift left for this one
- =y 290 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,3,1.000000,F
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 50 !shift left for this one
- =y 290 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,7,1.000000,F
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 90 !shift left for this one
- =y 290 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,11,1.000000,F
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 130 !shift left for this one
- =y 290 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,15,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,15,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,15,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,15,1.000000,F
-
- ! Excitatory connections within column
-
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 10 !shift left for this one
- =y 320 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,12,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 0,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,0,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 4,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,4,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 8,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,8,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 12,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,12,1.000000,F
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 50 !shift left for this one
- =y 320 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,13,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 1,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,1,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 5,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,5,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 9,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,9,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 13,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,13,1.000000,F
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 90 !shift left for this one
- =y 320 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,14,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 2,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,2,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 6,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,6,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 10,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,10,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 14,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,14,1.000000,F
-
- ! *** Bias layer Definition ***
- ! *** Build the feed-back layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Inh" !accumulate inhibitions
- =Lpes 4 !4 PEs
- =x 130 !shift left for this one
- =y 320 !up higher on display
- =Lscl -0.010000 ! add scale
- =Loff 0.010000 ! add offset
- @LAdd
- +x 30 !shift back right again
- =cnwt 1.0 !weight of one
- =cnty WFix !fixed
- =cnsc WAbs !absolute
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,0,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 0,15,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,1,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 1,15,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,2,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 2,15,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 3,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,3,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 7,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,7,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 11,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,11,1.000000,F
-
- =NPEn 0
- =NPEl n0
- @NrPE
- =SPEn 0
- =SPEl LayN
- @SlPE
- @PECN 15,3,1.000000,F
-
- ! *** Connect its output to the Hopfield Layer input ***
-
- =NPEl LayN !current layer
- @NrPE
- =SPEl n0 !connect to hopfield layer
- @SlPE
- @PECN 3,15,1.000000,F
-
- ! *** Build the Output Layer ***
-
- @LLdf !start with default layer again
- =LDsp 3
- =LDln "Output" !layer name
- =Lpes n3 !desired number of PEs
- =x 100 !place to put output layer
- +y 20 !up higher on display
- @LAdd
-
- ! *** Connect the output layer back to the hopfield layer ***
-
- =SPEl LayN !select output layer
- @SlPE
- =NPEl n0 !hopfield layer
- @NrPE
- =cnsc WRel
- @LCCr
-
- ! *** Select Control Strategy & L/R Schedule ***
-
- @LLsl !load super layer
- =Lctl "tsp" !control strategy
- =Llrs "tsp" !L/R Schedule
- =Lsty "tsp" !style sheet
-
- =Llnn "tsp" !name of learn input
- =Lrcn "tsp" !name of recall output
- =Lion "tspio" !user i/o name */
- +Llio 128 !set user i/o in learn mode
- +Lrio 128 !set user i/o in recall mode
- +Lflg LAAs !auto-associative
- =BPDM 0 !do not use min/max tables
- =BPDF 1 !use default file names
- =RnRm 1 !recall for 1 pass
- @SVsl !save it back
-
- @EOF
-