code: def permute_kwargs(self, kwargs: Dict[str, Any]) -> None:
      use_vision = kwargs.pop("use_vision", True)
      use_text = kwargs.pop("use_text", True)
      if not use_vision or not use_text:
          kwargs["states_callback"] = get_callback(use_vision, use_text)
          model_config = kwargs.setdefault("model_config", {})
          model_config.setdefault("use_vision", use_vision)
          model_config.setdefault("use_text", use_text)
  
file_path: carefree-learn/cflearn/zoo/models/clip.py
imports: from typing import Any
  from typing import Dict
  from typing import Callable
  from cftool.types import tensor_dict_type
  from .schema import IDLZooModelLoader
label_desc: Use image node_id 1 for calling the CLIPModelLoader obj's underlying member method code with example usage: obj.permute_kwargs(kwargs) without return types