tf.image.resize_image_with_crop_or_pad was renamed to tf.image.resize_with_crop_or_pad

main
Aurélien Geron 2019-06-27 10:10:22 +02:00
parent abf3bba2d5
commit 48dfa2ce67
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"images_resized = tf.image.resize_image_with_crop_or_pad(images, 224, 224)\n", "images_resized = tf.image.resize_with_crop_or_pad(images, 224, 224)\n",
"plot_color_image(images_resized[0])\n", "plot_color_image(images_resized[0])\n",
"plt.show()" "plt.show()"
] ]