code: def _init_base_config(self):
      self.pred_cfg = PredictConfig(self.model_path, self.param_path)
      self.pred_cfg.enable_memory_optim()
      self.pred_cfg.switch_ir_optim(True)
  
imports: import pickle
  import numpy
  from functools import partial
  from typing import Tuple, List, Union
  from scipy.ndimage.filters import gaussian_filter
  from paddle.inference import create_predictor, PrecisionType
  from paddle.inference import Config
  from tools.preprocess_utils import GenericPreprocessor, PreprocessorFor2D
  from nnunet.utils.utils import no_op, pad_nd_image
  from nnunet.transforms import default_2D_augmentation_params, default_3D_augmentation_params
label_desc: Use image node_id 2 for calling the StaticPredictor obj's underlying member method code with example usage: obj._init_base_config() without return types