diff --git a/examples/export_LeNet/lenet.py b/examples/export_LeNet/lenet.py index d80a3077ef51268c27af21788322969065a14307..28c75178530484998afa394329adb3eafba4d510 100644 --- a/examples/export_LeNet/lenet.py +++ b/examples/export_LeNet/lenet.py @@ -306,8 +306,9 @@ if quantize_model: tensors[i] = aidge_core.Tensor(array) tensors[i].set_datatype(TARGET_TYPE) tensors[i].set_backend("cpu") - # Setting modele to CPU for export - model.set_backend("cpu") + +# Setting model to CPU for export +model.set_backend("cpu") # -------------------------------------------------------------- @@ -479,4 +480,4 @@ try: for std_line in aidge_core.utils.run_command(["./bin/run_export"], cwd=EXPORT_FOLDER): print(std_line, end="") except subprocess.CalledProcessError as e: - raise RuntimeError(0, f"An error occurred, failed to run export.") from e \ No newline at end of file + raise RuntimeError(0, f"An error occurred, failed to run export.") from e