Skip to content

Commit b1e41ab

Browse files
committed
Update DTAT399A_backend.core.ipynb
1 parent fad6df1 commit b1e41ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tutorials/3-advanced-topics/DTAT399A_backend.core.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
"cell_type": "markdown",
240240
"metadata": {},
241241
"source": [
242-
"### 2.5. Validation and Invalidation\n",
242+
"### 2.5. Validating and Invalidating\n",
243243
"\n",
244244
"When you invalidate the parent for a particular `_ID`, the child’s value for that `_ID` will also be marked as invalid (since it depends on the parent). This ensures that downstream computations are never out of sync."
245245
]
@@ -433,7 +433,7 @@
433433
"source": [
434434
"### 2.8. Evaluating, Resetting, and Recomputing Node Values\n",
435435
"\n",
436-
"The value of a `DeepTrackNode` is evaluated and stored when the node is called with `.__call__()` (e.g., `node()`). Wehn you call a node multiple times, you will always get the same value as the node value is retrieved from memory (and not recomputed) each time.\n",
436+
"The value of a `DeepTrackNode` is evaluated and stored when the node is called with `.__call__()` (e.g., `node()`). When you call a node multiple times, you will always get the same value as the node value is retrieved from memory (and not recomputed) each time.\n",
437437
"\n",
438438
"The state of the node (and its dependencies) can be reset using the `.update()` method. After this, calling the node will result in a recomputation of its value (e.g., `node.update()()`).\n",
439439
"\n",
@@ -765,7 +765,7 @@
765765
"cell_type": "markdown",
766766
"metadata": {},
767767
"source": [
768-
"## 3. Lazy Evaluation and Caching\n",
768+
"## 3. Performing Lazy Evaluation and Caching\n",
769769
"\n",
770770
"A powerful feature of DeepTrack2 nodes is lazy evaluation: the node’s value is only computed when it is needed, and the result is cached until the node (or its dependencies) is invalidated. This avoids redundant computations and ensures high efficiency, especially in large graphs.\n",
771771
"\n",
@@ -892,7 +892,7 @@
892892
"cell_type": "markdown",
893893
"metadata": {},
894894
"source": [
895-
"### 3.3 Invalidation Forces Recalculation\n",
895+
"### 3.3 Forcing Recalculation though Invalidation\n",
896896
"\n",
897897
"If you invalidate the node, the cache is cleared and the next call will recompute the value:"
898898
]
@@ -992,7 +992,7 @@
992992
"cell_type": "markdown",
993993
"metadata": {},
994994
"source": [
995-
"## 4. Data Management with IDs\n",
995+
"## 4. Managing Data with IDs\n",
996996
"\n",
997997
"The `DeepTrackDataDict` class provides an efficient, validated way to manage multiple data objects, each indexed by a unique tuple of integers.\n",
998998
"\n",
@@ -1124,7 +1124,7 @@
11241124
"cell_type": "markdown",
11251125
"metadata": {},
11261126
"source": [
1127-
"## 5. Operator Overloading and Pipeline Composition\n",
1127+
"## 5. Overloading Operators and Composing Pipeline\n",
11281128
"\n",
11291129
"A unique and powerful feature of `DeepTrackNode` is its support for operator overloading. This allows you to build complex computational pipelines by composing nodes using familiar arithmetic and comparison operators, making your code both expressive and readable.\n",
11301130
"\n",
@@ -1291,7 +1291,7 @@
12911291
"cell_type": "markdown",
12921292
"metadata": {},
12931293
"source": [
1294-
"### 5.3. Comparison Operators for Graphs\n",
1294+
"### 5.3. Using Comparison Operators for Graphs\n",
12951295
"\n",
12961296
"Comparison operators also work on nodes, returning new nodes that compute boolean results."
12971297
]

0 commit comments

Comments
 (0)