import tensorflow as tf


  def test_instance_non_maximum_suppression_1d_scores(self):
    mask0 = tf.constant([[1, 0],
                         [0, 1]], dtype=tf.float32)
    mask1 = tf.constant([[1, 1],
                         [0, 1]], dtype=tf.float32)
    mask2 = tf.constant([[1, 0],
                         [1, 1]], dtype=tf.float32)
    mask3 = tf.constant([[1, 1],
                         [1, 1]], dtype=tf.float32)
    mask4 = tf.constant([[0, 0],
                         [0, 0]], dtype=tf.float32)
