code: def testToInt32(self):
      self._test(
          dtypes.int32,
          [
              ("0", 0),
              ("3", 3),
              ("-1", -1),
              ("    -10", -10),
              ("-2147483648", -2147483648),
              ("2147483647", 2147483647),
          ],
          [  # Less than min value of int32.
              ("-2147483649", _ERROR_MESSAGE + "-2147483649"),
              # Greater than max value of int32.
              ("2147483648", _ERROR_MESSAGE + "2147483648"),
              ("2.9", _ERROR_MESSAGE + "2.9"),
              ("10foobar", _ERROR_MESSAGE + "10foobar"),
          ],
      )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/strings_ops/string_to_number_op_test.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the StringToNumberOpTest obj's underlying member method code with example usage: obj.testToInt32() without return types