class_docstr: Implements abstract DetectionModel class
class_docstr_tok: ["Implements","abstract","DetectionModel","class"]
code: def __init__(self, cfg: Optional[Dict[str, Any]] = None) -> None:
      super().__init__()
      self.cfg = cfg
  
imports: from typing import Any, Dict, Optional
  from doctr.utils.repr import NestedObject
label_desc: Use image node_id 1 to create a new BaseModel object from inherited base classes: NestedObject with example: obj = BaseModel(cfg)