From 3108287c8fce5a6e427ca56267a927270c271239 Mon Sep 17 00:00:00 2001 From: Elton Cardoso do Nascimento <43186596+EltonCN@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:31:16 -0300 Subject: [PATCH] Example Introduction: stateless codelet --- examples/Introduction to CST-Python.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/Introduction to CST-Python.ipynb b/examples/Introduction to CST-Python.ipynb index 857941c..b52cad5 100644 --- a/examples/Introduction to CST-Python.ipynb +++ b/examples/Introduction to CST-Python.ipynb @@ -236,7 +236,9 @@ "- `calculate_activation`: computes the codelet's activation. We are not going to use this now.\n", "- `proc`: the actual function that the codelet performs, reading from the inputs, processing and setting the outputs.\n", "\n", - "It is important to note that the codelet should only get inputs in the `access_memory_objects`, not in `proc`. The content of the memories (info) can be accessed everywhere." + "It is important to note that the codelet should only get inputs in the `access_memory_objects`, not in `proc`. The content of the memories (info) can be accessed everywhere.\n", + "\n", + "Also, the Codelet should be stateless. Any data necessary for its operation should be in the inputs." ] }, {