code: def model(self, **kwargs) -> BaseArch:
      if "submodule" in kwargs:
          assert (
              kwargs["submodule"] in self.submodules
          ), "Detector does not contain submodule {}".format(
              kwargs["submodule"]
          )
          model: BaseArch = getattr(self, kwargs["submodule"])
      else:
          model: BaseArch = getattr(self, self.inference_on)
      return model
  
file_path: PaddleDetection/ppdet/modeling/architectures/multi_stream_detector.py
imports: from typing import Dict
  from collections import OrderedDict
  from ppdet.modeling.architectures.meta_arch import BaseArch
label_desc: Use image node_id 4 for calling the MultiSteamDetector obj's underlying member method code with example usage: obj.model() and returns: model