code: def test_invalid_inputs(self):
      inputs = constant_op.constant(
          np.uint8(0), shape=[3, 3, 3, 3], dtype=dtypes.quint8
      )
      ksize = [1, 1, 1, 1]
      strides = [1, 1, 1, 1]
      padding = "SAME"
  
      with self.assertRaisesRegex(
          (errors.InvalidArgumentError, ValueError), "must be.* rank 0"
      ):
          self.evaluate(
              nn_ops.quantized_max_pool(
                  input=inputs,
                  min_input=[],
                  max_input=1.0,
                  ksize=ksize,
                  strides=strides,
                  padding=padding,
              )
          )
  
      with self.assertRaisesRegex(
          (errors.InvalidArgumentError, ValueError), "must be.* rank 0"
      ):
          self.evaluate(
              nn_ops.quantized_max_pool(
                  input=inputs,
                  min_input=0.0,
                  max_input=[],
                  ksize=ksize,
                  strides=strides,
                  padding=padding,
              )
          )
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the QuantizedMaxPoolingOpTest obj's underlying member method code with example usage: obj.test_invalid_inputs() without return types