Skip to content

Commit

Permalink
reverted changes to 03_compile_code
Browse files Browse the repository at this point in the history
  • Loading branch information
vedpatwardhan committed Oct 25, 2023
1 parent d719ea7 commit 7c1601a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions learn_the_basics/03_compile_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"is_executing": true
},
"metadata": {},
"outputs": [],
"source": [
"!pip install ivy"
Expand All @@ -42,7 +40,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Firstly, let's pick up where we left off in the [last notebook](), with our unified `normalize` function:"
"Firstly, let's pick up where we left off in the [last notebook](02_unify_code.ipynb), with our unified `normalize` function:"
]
},
{
Expand Down Expand Up @@ -92,7 +90,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"As in the previous example, the Ivy function can be executed like so (in this case it will trigger lazy unification, see the [Lazy vs Eager]() section for more details):"
"As in the previous example, the Ivy function can be executed like so (in this case it will trigger lazy unification, see the [Lazy vs Eager](05_lazy_vs_eager.ipynb) section for more details):"
]
},
{
Expand Down Expand Up @@ -130,6 +128,7 @@
"metadata": {},
"outputs": [],
"source": [
"ivy.set_backend(\"jax\")\n",
"comp = ivy.compile(normalize) # compiles to jax, due to ivy.set_backend"
]
},
Expand All @@ -138,7 +137,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The compiled function can be executed in exactly the same manner as the non-compiled function (in this case it will also trigger lazy compilation, see the [Lazy vs Eager]() section for more details):"
"The compiled function can be executed in exactly the same manner as the non-compiled function (in this case it will also trigger lazy compilation, see the [Lazy vs Eager](05_lazy_vs_eager.ipynb) section for more details):"
]
},
{
Expand Down

0 comments on commit 7c1601a

Please sign in to comment.