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 _get_text_features(self):
      if self._text_features is None:
          prompts = [
              "%s %s" % (self.config.text_prompt, c)
              for c in self.classes
          ]
          # Tokenize text
          text = self._tokenizer(prompts)
          if self._using_gpu:
              text = text.cuda()
          self._text_features = self._model.encode_text(text)
  
      return self._text_features
  
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 6 for calling the TorchOpenClipModel obj's underlying member method code with example usage: obj._get_text_features() and returns: self