class_docstr: Example:
      >>> from bigdl.chronos.utils import LazyImport
      >>> forecaster = LazyImport('bigdl.chronos.forecaster.lstm_forecaster.LSTMForecaster')
      >>> forecaster.from_tsdataset(tsdataset, ...)
      >>> forecaster(...)
docstr: :param module_name: Import module name.
  :param pkg: prefix path.
docstr_tok: [":","param","module_name",":","Import","module","name",".",":","param","pkg",":","prefix","path","."]
code: def __init__(self, module_name: str, pkg=None):
      """
      :param module_name: Import module name.
      :param pkg: prefix path.
      """
      self.module_name = module_name
      self.pkg = pkg
  
file_path: BigDL/python/chronos/src/bigdl/chronos/utils.py
imports: import warnings
  from functools import wraps
  import importlib
  import sys
  import pickle
  import hmac
  import hashlib
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 1 to create a new LazyImport object  with example: obj = LazyImport(module_name, pkg)