Skip to content

Commit

Permalink
Fix demo bug. (#75)
Browse files Browse the repository at this point in the history
* Update 03_transpiling_a_tf_model.ipynb

* Update 03_transpiling_a_tf_model.ipynb

* Update 03_transpiling_a_tf_model.ipynb

* Update 03_transpiling_a_tf_model.ipynb
  • Loading branch information
vaatsalya123 authored Feb 21, 2024
1 parent d5dd40c commit 104f88a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guides/03_transpiling_a_tf_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@
"outputs": [],
"source": [
"# Transpile it into a torch.nn.Module with the corresponding parameters\n",
"ivy.set_soft_device_mode(True)\n",
"noise = tf.random.normal(shape=(1, 224, 224, 3))\n",
"torch_eff_encoder = ivy.transpile(eff_encoder, to=\"torch\", args=(noise,))"
"torch_eff_encoder = ivy.transpile(eff_encoder, source=\"tensorflow\", to=\"torch\", args=(noise,), modes_to_trace=\"eval\")"
]
},
{
Expand Down

0 comments on commit 104f88a

Please sign in to comment.