code: def dict(self):
      def recursively_dictionarize(element):
          if isinstance(element, list):
              element = [recursively_dictionarize(el) for el in element]
          elif hasattr(element, "dict"):
              element = element.dict()
          return element
  
      return {
          k: recursively_dictionarize(v)
          for k, v in self.__dict__.items()
          if not k.startswith("_")
      }
  
imports: import subprocess
  from dataclasses import dataclass
  from enum import Enum
  from functools import cached_property
  from typing import Optional, Any, Union, Tuple, List, Dict
  import numpy
  from nebullvm.optional_modules.tensorflow import tensorflow
  from nebullvm.optional_modules.torch import torch
label_desc: Use image node_id 2 for calling the ModelParams obj's underlying member method code with example usage: obj.dict() and returns: unknown, element