Skip to content

Commit 178e985

Browse files
authored
Fix for clean init changes to other lava repos. (#16)
* Final release rendering Signed-off-by: bamsumit <bam_sumit@hotmail.com> * Fixed broken links in indiviudal dl library landing pages Signed-off-by: bamsumit <bam_sumit@hotmail.com> * clean init fix and tutorial move fix for all modules Signed-off-by: bamsumit <bam_sumit@hotmail.com> * fixing tutorial links due to move of tutorials/ in lava. Signed-off-by: bamsumit <bam_sumit@hotmail.com> * Removed commented code for pre clean init system Signed-off-by: bamsumit <bam_sumit@hotmail.com>
1 parent 38cb9a2 commit 178e985

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

getting_started_with_lava.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Application examples:
1111

1212
These are standalone tutorials that can be followed in any order.
1313

14-
* `MNIST digit classification: <https://github.com/lava-nc/lava/blob/main/src/lava/tutorials/end_to_end/tutorial01_mnist_digit_classification.ipynb>`_ The classical '*Hello World!*' example illustrating how to build a simple feed-forward image classifier using leaky-integrate-and-fire neurons.
14+
* `MNIST digit classification: <https://github.com/lava-nc/lava/blob/main/tutorials/end_to_end/tutorial01_mnist_digit_classification.ipynb>`_ The classical '*Hello World!*' example illustrating how to build a simple feed-forward image classifier using leaky-integrate-and-fire neurons.
1515

1616
**Coming soon:**
1717

sync_notebook.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
try:
88
import lava
9-
module_dict.update({'lava': lava})
9+
import lava.proc
10+
module_dict.update({'lava': lava.proc}) # this must be unique path
1011
except ModuleNotFoundError:
1112
print(f"Failed importing {lava}. It's dependencies will be excluded.")
1213

@@ -58,7 +59,7 @@
5859
'module': 'optim',
5960
'dst': 'lava/notebooks/',
6061
'tutorials': {
61-
'end_to_end': 'End to end tutorials',
62+
'qp': 'QP solver tutorials',
6263
},
6364
},
6465
]
@@ -107,9 +108,6 @@ def create_nb_rst(folder_path, rst_name, header, ignore=[]):
107108
module = module_dict[key]
108109
module_path = module.__path__[0]
109110
module_path = module_path.split('src/lava')[0]
110-
if module_path[-1] != '/':
111-
# this is temp before lava dir restructure
112-
module_path += '/'
113111
dst = tutorials['dst']
114112
if 'ignore' in tutorials.keys():
115113
ignore = tutorials['ignore']

0 commit comments

Comments
 (0)