Skip to content

Commit 3627074

Browse files
committed
fix: readme kornia example
1 parent 365f11f commit 3627074

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,9 +1149,11 @@ ret = tf_fn(x1)
11491149
#### `ivy.transpile` will lazily transpile if a module (library) is provided
11501150

11511151
``` python
1152+
import ivy
11521153
import kornia
1154+
import tensorflow as tf
11531155

1154-
x2 = torch.rand(5, 3, 4, 4)
1156+
x2 = tf.random.normal((5, 3, 4, 4))
11551157

11561158
# Module is provided -> transpilation happens lazily
11571159
tf_kornia = ivy.transpile(kornia, source="torch", target="tensorflow")

0 commit comments

Comments
 (0)