1 import tensorflow as tf
3 max_output_size = tf.compat.v1.constant(4)
5 in_boxes_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(8, 4), name="Hole")
6 in_scores_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(8), name="Hole")
7 non_max_suppression_padded_ = tf.compat.v1.image.non_max_suppression_padded(
8 in_boxes_, in_scores_, max_output_size)