class_docstr: IODataset
docstr: Creates an `IODataset` from a TIFF file.
  
  Args:
    filename: A string, the filename of a TIFF file.
    name: A name prefix for the IOTensor (optional).
  
  Returns:
    A `IODataset`.
docstr_tok: ["Creates","an","`","IODataset","`","from","a","TIFF","file",".","Args",":","filename",":","A","string",",","the","filename","of","a","TIFF","file",".","name",":","A","name","prefix","for","the","IOTensor","(","optional",")",".","Returns",":","A","`","IODataset","`","."]
code: def from_tiff(cls, filename, **kwargs):
      """Creates an `IODataset` from a TIFF file.
  
      Args:
        filename: A string, the filename of a TIFF file.
        name: A name prefix for the IOTensor (optional).
  
      Returns:
        A `IODataset`.
      """
      with tf.name_scope(kwargs.get("name", "IOFromTIFF")):
          return image_dataset_ops.TIFFIODataset(
              filename, internal=True
          )
  
imports: import tensorflow
  from tensorflow_io.python.ops import io_dataset
  from tensorflow_io.python.experimental import libsvm_dataset_ops
  from tensorflow_io.python.experimental import image_dataset_ops
  from tensorflow_io.python.experimental import kinesis_dataset_ops
  from tensorflow_io.python.experimental import pubsub_dataset_ops
  from tensorflow_io.python.experimental import grpc_dataset_ops
  from tensorflow_io.python.experimental import file_dataset_ops
  from tensorflow_io.python.experimental import numpy_dataset_ops
  from tensorflow_io.python.experimental import sql_dataset_ops
  from tensorflow_io.python.experimental import video_dataset_ops
label_desc: Use image node_id 3 for calling the IODataset obj's underlying member method code with example usage: obj.from_tiff(cls, filename) and returns: image_dataset_ops