class_docstr: Iterable Dataset with output ports
  
  Please Note: Subclasses of IterableDataset should *not* implement input_types.
class_docstr_tok: ["Iterable","Dataset","with","output","ports","Please","Note",":","Subclasses","of","IterableDataset","should","*","not","*","implement","input_types","."]
docstr: A default implementation of a collation function.
  Users should override this method to define custom data loaders.
docstr_tok: ["A","default","implementation","of","a","collation","function",".","Users","should","override","this","method","to","define","custom","data","loaders","."]
code: def _collate_fn(self, batch):
      """
      A default implementation of a collation function.
      Users should override this method to define custom data loaders.
      """
      return data.dataloader.default_collate(batch)
  
file_path: NeMo/nemo/core/classes/dataset.py
imports: from dataclasses import dataclass
  from typing import Optional
  from torch.utils import data
  from nemo.core.classes import Serialization, Typing, typecheck
label_desc: Use image node_id 1 for calling the IterableDataset obj's underlying member method code with example usage: obj._collate_fn(batch) and returns: data