class_docstr: Helper class that provides TensorFlow image coding utilities.
class_docstr_tok: ["Helper","class","that","provides","TensorFlow","image","coding","utilities","."]
docstr: Decodes a JPEG image.
docstr_tok: ["Decodes","a","JPEG","image","."]
code: def decode_jpeg(self, image_data: bytes) -> "tf.Tensor":
      """Decodes a JPEG image."""
      image = self._sess.run(
          self._decode_jpeg,
          feed_dict={self._decode_jpeg_data: image_data},
      )
      invalidInputError(len(image.shape) == 3, "expect image dim is 3")
      invalidInputError(
          image.shape[2] == 3, "expect image.shape[2] == 3"
      )
      return image
  
imports: import math
  import os
  import random
  from typing import TYPE_CHECKING, Iterable, List, Mapping, Union, Tuple
  from bigdl.dllib.utils.log4Error import invalidInputError
label_desc: Use image node_id 4 for calling the ImageCoder obj's underlying member method code with example usage: obj.decode_jpeg(image_data) and returns: image