Skip to content

Commit 148fe67

Browse files
committed
Update doc to show the new form of connect to IN/OUT of the memory models
1 parent 22fe199 commit 148fe67

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

docs/source/ca3.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ To integrate the memory model in your own network, just import the model class a
3636
3737
from sPyMem.ca3 import CA3
3838
39-
memory = CA3.Memory(cueSize, contSize, sim, ILayer, OLayer)
39+
memory = CA3.Memory(cueSize, contSize, sim)
40+
memory.connect_in(ILayer)
41+
memory.connect_out(OLayer)
4042
4143
The full example can be found at `sPyMem Github <https://github.com/dancasmor/sPyMem>`_, and for other examples see `Test and applications <Test.html>`_ section.
4244

docs/source/ca3_content_addressable.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ To integrate the memory model in your own network, just import the model class a
2727
.. code-block::
2828
2929
from sPyMem.CA3_content_addressable import CA3_content_addressable
30-
31-
memory = CA3_content_addressable.Memory(cueSize, contSize, sim, ILayer, OLayer)
30+
31+
memory = CA3_content_addressable.Memory(cueSize, contSize, sim)
32+
memory.connect_in(ILayer)
33+
memory.connect_out(OLayer)
3234
3335
The full example can be found at `sPyMem Github <https://github.com/dancasmor/sPyMem>`_, and for other examples see `Test and applications <Test.html>`_ section.
3436

docs/source/hippocampus_bioinspired_dg_ca1.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ To integrate the memory model in your own network, just import the model class a
2626
.. code-block::
2727
2828
from sPyMem.hippocampus_bioinspired_dg_ca1 import hippocampus_bioinspired_dg_ca1
29-
30-
memory = hippocampus_bioinspired_dg_ca1.Memory(cueSize, contSize, sim, ILayer, OLayer)
29+
30+
memory = hippocampus_bioinspired_dg_ca1.Memory(cueSize, contSize, sim)
31+
memory.connect_in(ILayer)
32+
memory.connect_out(OLayer)
3133
3234
The full example can be found at `sPyMem Github <https://github.com/dancasmor/sPyMem>`_, and for other examples see `Test and applications <Test.html>`_ section.
3335

0 commit comments

Comments
 (0)