1 2 3 4
import tensorflow as tf in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 8, 8, 3), name="Hole") op_ = tf.compat.v1.image.resize_bilinear(in_, [16, 16])