class_docstr: Orchestrates pretraining
  
  First collects parameter file symlinks into the given directory. Then
  calls load hooks for each of those parameter files.
  
  Arguments
  ---------
  collect_in : str or Path
      Path to directory where the parameter file symlinks are collected.
  loadables : mapping
      Mapping from loadable key to object. This connects the keys to
      the actual object instances.
  paths : mapping
      Mapping from loadable key to filepath. The last part
      of the path is treated as file name, the rest of it
      is treated as a "source" which can be either a directory
      path or a magic source like Huggingface hub ID.
      e.g. sb/asr-crdnn-libri/lm.ckpt
      -> source=sb/asr-crdnn-libri, file=lm.ckpt
      Note that when collecting, you can specify a default source,
      which is used for all loadables that don't have a path specified.
  custom_hooks : mapping
      Mapping from loadable key to parameter transfer hook function. If you
      want to use a custom loading function, specify it here.
  conditions: mapping
      An optional mapping from loadable keys to condition values,
      useful for loading certain elements only if a flag is turned on
class_docstr_tok: ["Orchestrates","pretraining","First","collects","parameter","file","symlinks","into","the","given","directory",".","Then","calls","load","hooks","for","each","of","those","parameter","files",".","Arguments","--","--","--","--","-","collect_in",":","str","or","Path","Path","to","directory","where","the","parameter","file","symlinks","are","collected",".","loadables",":","mapping","Mapping","from","loadable","key","to","object",".","This","connects","the","keys","to","the","actual","object","instances",".","paths",":","mapping","Mapping","from","loadable","key","to","filepath",".","The","last","part","of","the","path","is","treated","as","file","name",",","the","rest","of","it","is","treated","as","a","``","source","''","which","can","be","either","a","directory","path","or","a","magic","source","like","Huggingface","hub","ID",".","e.g",".","sb\/asr-crdnn-libri\/lm.ckpt","-",">","source=sb\/asr-crdnn-libri",",","file=lm.ckpt","Note","that","when","collecting",",","you","can","specify","a","default","source",",","which","is","used","for","all","loadables","that","do","n't","have","a","path","specified",".","custom_hooks",":","mapping","Mapping","from","loadable","key","to","parameter","transfer","hook","function",".","If","you","want","to","use","a","custom","loading","function",",","specify","it","here",".","conditions",":","mapping","An","optional","mapping","from","loadable","keys","to","condition","values",",","useful","for","loading","certain","elements","only","if","a","flag","is","turned","on"]
docstr: Change the collecting path
docstr_tok: ["Change","the","collecting","path"]
code: def set_collect_in(self, path):
      """Change the collecting path"""
      self.collect_in = pathlib.Path(path)
  
file_path: speechbrain/speechbrain/utils/parameter_transfer.py
imports: import logging
  import pathlib
  from speechbrain.utils.distributed import run_on_main
  from speechbrain.utils.fetching import fetch, FetchFrom, FetchSource
  from speechbrain.utils.checkpoints import DEFAULT_LOAD_HOOKS, DEFAULT_TRANSFER_HOOKS, PARAMFILE_EXT, get_default_hook
label_desc: Use image node_id 2 for calling the Pretrainer obj's underlying member method code with example usage: obj.set_collect_in(path) without return types