Skip to content

Commit

Permalink
adjust directory for .ivy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Aug 9, 2023
1 parent b37dd2d commit 87ac913
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions learn_the_basics/03_compile_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,20 @@
"def normalize(x):\n",
" mean = torch.mean(x)\n",
" std = torch.std(x)\n",
" return torch.div(torch.sub(x, mean), std)\n",
"\n",
"normalize = ivy.unify(normalize, source=\"torch\")"
" return torch.div(torch.sub(x, mean), std)"
]
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"normalize = ivy.unify(normalize, source=\"torch\")"
],
"metadata": {
"collapsed": false
}
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down

0 comments on commit 87ac913

Please sign in to comment.