class_docstr: Lazily import a module, mainly to avoid pulling in large dependencies.
  
  `contrib`, and `ffmpeg` are examples of modules that are large and not always
  needed, and this allows them to only be loaded when they are used.
class_docstr_tok: ["Lazily","import","a","module",",","mainly","to","avoid","pulling","in","large","dependencies",".","`","contrib","`",",","and","`","ffmpeg","`","are","examples","of","modules","that","are","large","and","not","always","needed",",","and","this","allows","them","to","only","be","loaded","when","they","are","used","."]
docstr: Load the module and insert it into the parent's globals.
docstr_tok: ["Load","the","module","and","insert","it","into","the","parent","'s","globals","."]
code: def _load(self):
      """Load the module and insert it into the parent's globals."""
      # Import the target module and insert it into the parent's namespace
      module = importlib.import_module(self.__name__)
      self._parent_module_globals[self._local_name] = module
  
      # Emit a warning if one was specified
      if self._warning:
          logging.warning(self._warning)
          # Make sure to only warn once.
          self._warning = None
  
      # Update this object's dict so that if someone keeps a reference to the
      #   LazyLoader, lookups are efficient (__getattr__ is only called on lookups
      #   that fail).
      self.__dict__.update(module.__dict__)
  
      return module
  
file_path: agents/tf_agents/utils/lazy_loader.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import importlib
  import types
  from absl import logging
label_desc: Use image node_id 2 for calling the LazyLoader obj's underlying member method code with example usage: obj._load() and returns: module