code: def test_prior_box_error(self):
      with self.static_graph():
          input = paddle.static.data(
              name="input", shape=[2, 10, 32, 32], dtype="int32"
          )
          image = paddle.static.data(
              name="image", shape=[2, 10, 40, 40], dtype="int32"
          )
          self.assertRaises(
              TypeError,
              ops.prior_box,
              input=input,
              image=image,
              min_sizes=[2, 4],
              clip=True,
              flip=True,
          )
  
      paddle.disable_static()
  
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 TestPriorBox obj's underlying member method code with example usage: obj.test_prior_box_error() without return types