class_docstr: Adapter that handles `torch.utils.data.DataLoader`.
class_docstr_tok: ["Adapter","that","handles","`","torch.utils.data.DataLoader","`","."]
code: def get_tf_dataset(self):
      from keras.utils.module_utils import tensorflow as tf
  
      output_signature = self.peek_and_get_tensor_spec()
      return tf.data.Dataset.from_generator(
          self.get_numpy_iterator,
          output_signature=output_signature,
      )
  
file_path: keras/keras/trainers/data_adapters/torch_data_loader_adapter.py
imports: import numpy
  import tree
  from keras.trainers.data_adapters.data_adapter import DataAdapter
label_desc: Use image node_id 4 for calling the TorchDataLoaderAdapter obj's underlying member method code with example usage: obj.get_tf_dataset() and returns: tf