original_docstring: Makes a new dynamic item available on the dataset.
  
          Two calling conventions. For DynamicItem objects, just use:
          add_dynamic_item(dynamic_item).
          But otherwise, should use:
          add_dynamic_item(func, takes, provides).
  
          See `speechbrain.utils.data_pipeline`.
  
          Arguments
          ---------
          func : callable, DynamicItem
              If a DynamicItem is given, adds that directly. Otherwise a
              DynamicItem is created, and this specifies the callable to use. If
              a generator function is given, then create a GeneratorDynamicItem.
              Otherwise creates a normal DynamicItem.
          takes : list, str
              List of keys. When func is called, each key is resolved to
              either an entry in the data or the output of another dynamic_item.
              The func is then called with these as positional arguments,
              in the same order as specified here.
              A single arg can be given directly.
          provides : str
              Unique key or keys that this provides.
          
docstring: Makes a new dynamic item available on the dataset.
  Two calling conventions.
  
  
  
  Arguments
  
  func : callable, DynamicItem
  If a DynamicItem is given, adds that directly. Otherwise a
  DynamicItem is created, and this specifies the callable to use. If
  a generator function is given, then create a GeneratorDynamicItem.
  Otherwise creates a normal DynamicItem.
  takes : list, str
  List of keys. When func is called, each key is resolved to
  either an entry in the data or the output of another dynamic_item.
  The func is then called with these as positional arguments,
  in the same order as specified here.
  A single arg can be given directly.
  provides : str
  Unique key or keys that this provides.
docstring_tokens: Makes a new dynamic item available on the dataset . Two calling conventions . Arguments func : callable DynamicItem If a DynamicItem is given adds that directly . Otherwise a DynamicItem is created and this specifies the callable to use . If a generator function is given then create a GeneratorDynamicItem . Otherwise creates a normal DynamicItem . takes : list str List of keys . When func is called each key is resolved to either an entry in the data or the output of another dynamic_item . The func is then called with these as positional arguments in the same order as specified here . A single arg can be given directly . provides : str Unique key or keys that this provides .
code: def add_dynamic_item(self, func, takes=None, provides=None):
          """Makes a new dynamic item available on the dataset.
  
          Two calling conventions. For DynamicItem objects, just use:
          add_dynamic_item(dynamic_item).
          But otherwise, should use:
          add_dynamic_item(func, takes, provides).
  
          See `speechbrain.utils.data_pipeline`.
  
          Arguments
          ---------
          func : callable, DynamicItem
              If a DynamicItem is given, adds that directly. Otherwise a
              DynamicItem is created, and this specifies the callable to use. If
              a generator function is given, then create a GeneratorDynamicItem.
              Otherwise creates a normal DynamicItem.
          takes : list, str
              List of keys. When func is called, each key is resolved to
              either an entry in the data or the output of another dynamic_item.
              The func is then called with these as positional arguments,
              in the same order as specified here.
              A single arg can be given directly.
          provides : str
              Unique key or keys that this provides.
          """
          self.pipeline.add_dynamic_item(func, takes, provides)
code_tokens: def add_dynamic_item ( self , func , takes = None , provides = None ) : self . pipeline . add_dynamic_item ( func , takes , provides )
short_docstring: Makes a new dynamic item available on the dataset.
short_docstring_tokens: Makes a new dynamic item available on the dataset .
comment: """Makes a new dynamic item available on the dataset.
  
          Two calling conventions. For DynamicItem objects, just use:
          add_dynamic_item(dynamic_item).
          But otherwise, should use:
          add_dynamic_item(func, takes, provides).
  
          See `speechbrain.utils.data_pipeline`.
  
          Arguments
          ---------
          func : callable, DynamicItem
              If a DynamicItem is given, adds that directly. Otherwise a
              DynamicItem is created, and this specifies the callable to use. If
              a generator function is given, then create a GeneratorDynamicItem.
              Otherwise creates a normal DynamicItem.
          takes : list, str
              List of keys. When func is called, each key is resolved to
              either an entry in the data or the output of another dynamic_item.
              The func is then called with these as positional arguments,
              in the same order as specified here.
              A single arg can be given directly.
          provides : str
              Unique key or keys that this provides.
          """