Skip to content

Commit

Permalink
Update docs in brainpy core concept (#317)
Browse files Browse the repository at this point in the history
Update docs in brainpy core concept.
  • Loading branch information
chaoming0625 authored Dec 29, 2022
2 parents 6b86740 + 11a2ab3 commit dbdc5c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/core_concept/brainpy_transform_concept.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"In the above example, ``Linear`` object has two ``Variable``: *W* and *b*. The ``net`` we defined is further composed of two ``Linear`` objects. We can except that four variables can be retrieved from it. "
"In the above example, ``Linear`` object has two ``Variable``: *W* and *b*. The ``net`` we defined is further composed of two ``Linear`` objects. We can expect that four variables can be retrieved from it."
]
},
{
Expand Down Expand Up @@ -486,7 +486,7 @@
"metadata": {},
"source": [
"Note that, when using `to_object()`, we need to explicitly declare all `BrainPyObject` and `Variable` used in this Python function. \n",
"Due to the recersively retrieval property of `BrainPyObject`, we only need to specify the latest composition object. \n",
"Due to the recursive retrieval property of `BrainPyObject`, we only need to specify the latest composition object.\n",
"\n",
"In the above `loss` object, we do not need to specify two ``Linear`` object. Instead, we only need to give the top level object ``net`` into ``to_object()`` transform. \n",
"\n",
Expand All @@ -512,7 +512,7 @@
"metadata": {},
"source": [
"BrainPy object-oriented transformations are designed to work on ``BrainPyObject``. \n",
"These transforamtions inclue autograd ``brainpy.math.grad()`` and JIT ``brainpy.math.jit()``. "
"These transformations include autograd ``brainpy.math.grad()`` and JIT ``brainpy.math.jit()``."
]
},
{
Expand Down Expand Up @@ -653,4 +653,4 @@
},
"nbformat": 4,
"nbformat_minor": 1
}
}

0 comments on commit dbdc5c6

Please sign in to comment.