class_docstr: Test for CombinedNMS op in TF-TRT.
class_docstr_tok: ["Test","for","CombinedNMS","op","in","TF-TRT","."]
code: def GraphFn(self, boxes, scores):
      max_total_size = 3
      score_threshold = 0.1
      iou_threshold = 0.5
      # Shapes
      max_total_size_tensor = constant_op.constant(
          max_total_size, dtype=dtypes.int32, name="max_total_size"
      )
      iou_threshold_tensor = constant_op.constant(
          iou_threshold, dtype=dtypes.float32, name="iou_threshold"
      )
      score_threshold_tensor = constant_op.constant(
          score_threshold, dtype=dtypes.float32, name="score_threshold"
      )
      nms_output = image_ops_impl.combined_non_max_suppression(
          boxes,
          scores,
          max_total_size_tensor,
          max_total_size_tensor,
          iou_threshold_tensor,
          score_threshold_tensor,
          name="combined_nms",
      )
      return [
          array_ops.identity(output, name=("output_%d" % i))
          for i, output in enumerate(nms_output)
      ]
  
imports: import os
  from tensorflow.python.compiler.tensorrt import utils
  from tensorflow.python.compiler.tensorrt.test import tf_trt_integration_test_base
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import image_ops_impl
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the CombinedNmsTest obj's underlying member method code with example usage: obj.GraphFn(boxes, scores) and returns: unknown