code: def decode_exr(contents, index, channel, dtype, name=None):
      """
      Decode a EXR-encoded image to a uint8 tensor.
  
      Args:
        contents: A `Tensor` of type `string`. 0-D.  The EXR-encoded image.
        index: A `Tensor` of type int64. 0-D. The 0-based index of the frame
          inside EXR-encoded image.
        channel: A `Tensor` of type string. 0-D. The channel inside the image.
        name: A name for the operation (optional).
  
      Returns:
        A `Tensor` of type `uint8` and shape of `[height, width, 4]` (RGBA).
      """
      return core_ops.io_decode_exr(
          contents, index=index, channel=channel, dtype=dtype, name=name
      )
  
file_path: io/tensorflow_io/python/experimental/image_ops.py
imports: import tensorflow
  from tensorflow_io.python.ops import core_ops
label_desc: Use image node_id 6 for calling a global function with example usage: decode_exr(contents, index, channel, dtype, name) and returns: core_ops