code: def testToBool(self):
      result = np.matrix([[True, False, False, True]], dtype="<b1")
      self.assertAllEqual(
          result,
          parsing_ops.decode_raw([result.tobytes()], dtypes.bool),
      )
  
file_path: tensorflow/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 6 for calling the DecodeRawOpTest obj's underlying member method code with example usage: obj.testToBool() without return types