code: def testToInt16(self):
      self.assertAllEqual(
          [[ord("A") + ord("a") * 256, ord("B") + ord("C") * 256]],
          parsing_ops.decode_raw(["AaBC"], dtypes.uint16),
      )
  
      with self.assertRaisesOpError(
          "Input to DecodeRaw has length 3 that is not a multiple of 2, the "
          "size of int16"
      ):
          self.evaluate(
              parsing_ops.decode_raw(["123", "456"], dtypes.int16)
          )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/image_ops/decode_raw_op_test.py
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  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 3 for calling the DecodeRawOpTest obj's underlying member method code with example usage: obj.testToInt16() without return types