class_docstr: Generic container to quickly build `Datasets` and `DataLoaders`.
class_docstr_tok: ["Generic","container","to","quickly","build","`","Datasets","`","and","`","DataLoaders","`","."]
code: def new(
      self,
      item_tfms: list = None,  # `ItemTransform`s, applied on an item
      batch_tfms: list = None,  # `Transform`s or `RandTransform`s, applied by batch
  ):
      self.item_tfms = _merge_tfms(self.default_item_tfms, item_tfms)
      self.batch_tfms = _merge_tfms(self.default_batch_tfms, batch_tfms)
      return self
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from .core import *
  from .load import *
  from .external import *
  from .transforms import *
  from inspect import isfunction, ismethod
  from .load import _collate_types
label_desc: Use image node_id 3 for calling the DataBlock obj's underlying member method code with example usage: obj.new(item_tfms, batch_tfms) and returns: self