import tensorflow as tf

         min_iou_thresh=0.5,
         is_class_agnostic=True)
    nms_masks_expected1 = tf.stack([mask0, mask5, mask4])
    nms_scores_expected1 = tf.constant([1.0, 0.8, 0.7], dtype=tf.float32)
    nms_classes_expected1 = tf.constant([1, 2, 2], dtype=tf.int32)
    (nms_masks2,
     nms_scores2,
     nms_classes2) = isu.instance_non_maximum_suppression_2d_scores(
