code: def tokenize(self, texts):
      assert (
          not opts.use_old_emphasis_implementation
      ), "Old emphasis implementation not supported for Open Clip"
  
      tokenized = [tokenizer.encode(text) for text in texts]
  
      return tokenized
  
file_path: stable-diffusion-webui/modules/sd_hijack_open_clip.py
imports: import open_clip.tokenizer
  import torch
  from modules import sd_hijack_clip, devices
  from modules.shared import opts
label_desc: Use image node_id 2 for calling the FrozenOpenCLIPEmbedderWithCustomWords obj's underlying member method code with example usage: obj.tokenize(texts) and returns: tokenized