Skip to content

Commit 6bb0d4b

Browse files
seanpmorganfacaiy
authored andcommitted
Utilize new tf.image function names (#192)
1 parent b1afc92 commit 6bb0d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_addons/image/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def func2():
9191
for a in range(ch):
9292
img = image[:, :, a:a + 1]
9393
img = tf.reshape(img, [1, row, col, 1])
94-
slic = tf.image.extract_image_patches(
94+
slic = tf.image.extract_patches(
9595
img, [1, filter_shapex, filter_shapey, 1], [1, 1, 1, 1],
9696
[1, 1, 1, 1],
9797
padding='SAME')

0 commit comments

Comments
 (0)