class_docstr: Torch implementation of CLIP from
  https://github.com/mlfoundations/open_clip.
  
  Args:
      config: a :class:`TorchOpenClipModelConfig`
class_docstr_tok: ["Torch","implementation","of","CLIP","from","https",":","\/\/github.com\/mlfoundations\/open_clip",".","Args",":","config",":","a",":","class",":","`","TorchOpenClipModelConfig","`"]
code: def _load_model(self, config):
      (
          self._model,
          _,
          self.preprocess,
      ) = open_clip.create_model_and_transforms(
          config.clip_model,
          pretrained=config.pretrained,
          device=config.device,
      )
      self._tokenizer = open_clip.get_tokenizer(config.clip_model)
      return self._model
  
imports: import logging
  import fiftyone.core.models
  import fiftyone.core.utils
  import fiftyone.utils.torch
  import fiftyone.zoo.models
  import torch
label_desc: Use image node_id 5 for calling the TorchOpenClipModel obj's underlying member method code with example usage: obj._load_model(config) and returns: self