code: def test_multiclass_nms_error(self):
      with self.static_graph():
          boxes = paddle.static.data(
              name="bboxes", shape=[81, 4], dtype="float32", lod_level=1
          )
          scores = paddle.static.data(
              name="scores", shape=[81], dtype="float32", lod_level=1
          )
          rois_num = paddle.static.data(
              name="rois_num", shape=[40, 41], dtype="int32"
          )
          self.assertRaises(
              TypeError,
              ops.multiclass_nms,
              boxes=boxes,
              scores=scores,
              background_label=0,
              score_threshold=0.5,
              nms_top_k=400,
              nms_threshold=0.3,
              keep_top_k=200,
              normalized=False,
              return_index=True,
              rois_num=rois_num,
          )
  
imports: from __future__ import print_function
  import os, sys
  import unittest
  import numpy
  import paddle
  import ppdet.modeling.ops
  from ppdet.modeling.tests.test_base import LayerTest
label_desc: Use image node_id 2 for calling the TestMulticlassNms obj's underlying member method code with example usage: obj.test_multiclass_nms_error() without return types