class_docstr: Adapter that handles `tf.data.Dataset`.
code: def can_handle(x, y=None):
      return isinstance(
          x, (dataset_ops.DatasetV1, dataset_ops.DatasetV2)
      )
  
file_path: elegy/elegy/data/tf_dataset_adapter.py
imports: from tensorflow.python.data.experimental.ops import cardinality
  from tensorflow.python.data.ops import dataset_ops
  from .data_adapter import DataAdapter
  from .utils import flatten, is_none_or_empty, map_structure
label_desc: Use image node_id 1 for calling the TFDatasetAdapter obj's underlying member method code with example usage: obj.can_handle(x, y) and returns: isinstance