code: def testBadInputSizes(self):
      self._testBadInputSize(
          tin=math_ops.cast(
              constant_op.constant(1, shape=[1, 2]), dtype=dtypes.quint8
          ),
          error_regex="must be rank 4",
      )
      self._testBadInputSize(
          tfilter=math_ops.cast(
              constant_op.constant(1, shape=[1, 2]), dtype=dtypes.quint8
          ),
          error_regex="must be rank 4",
      )
      self._testBadInputSize(
          min_input=constant_op.constant(
              0, shape=[1], dtype=dtypes.float32
          ),
          error_regex="must be rank 0",
      )
      self._testBadInputSize(
          max_input=constant_op.constant(
              0, shape=[1], dtype=dtypes.float32
          ),
          error_regex="must be rank 0",
      )
      self._testBadInputSize(
          min_filter=constant_op.constant(
              0, shape=[1], dtype=dtypes.float32
          ),
          error_regex="must be rank 0",
      )
      self._testBadInputSize(
          max_filter=constant_op.constant(
              0, shape=[1], dtype=dtypes.float32
          ),
          error_regex="must be rank 0",
      )
  
file_path: tensorflow-upstream/tensorflow/python/ops/quantized_conv_ops_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the Conv2DTest obj's underlying member method code with example usage: obj.testBadInputSizes() without return types