class_docstr: A pytorch module that is a wrapper for FrozenCLIPEmbedder module. it enhances FrozenCLIPEmbedder, making it possible to
  have unlimited prompt length and assign weights to tokens in prompt.
docstr: converts a batch of token ids (in python lists) into a single tensor with numeric respresentation of those tokens;
  All python lists with tokens are assumed to have same length, usually 77.
  if input is a list with B elements and each element has T tokens, expected output shape is (B, T, C), where C depends on
  model - can be 768 and 1024.
  Among other things, this call will read self.hijack.fixes, apply it to its inputs, and clear it (setting it to None).
docstr_tok: ["converts","a","batch","of","token","ids","(","in","python","lists",")","into","a","single","tensor","with","numeric","respresentation","of","those","tokens",";","All","python","lists","with","tokens","are","assumed","to","have","same","length",",","usually","77.","if","input","is","a","list","with","B","elements","and","each","element","has","T","tokens",",","expected","output","shape","is","(","B",",","T",",","C",")",",","where","C","depends","on","model","-","can","be","768","and","1024",".","Among","other","things",",","this","call","will","read","self.hijack.fixes",",","apply","it","to","its","inputs",",","and","clear","it","(","setting","it","to","None",")","."]
code: def encode_with_transformers(self, tokens):
      """
      converts a batch of token ids (in python lists) into a single tensor with numeric respresentation of those tokens;
      All python lists with tokens are assumed to have same length, usually 77.
      if input is a list with B elements and each element has T tokens, expected output shape is (B, T, C), where C depends on
      model - can be 768 and 1024.
      Among other things, this call will read self.hijack.fixes, apply it to its inputs, and clear it (setting it to None).
      """
  
      raise NotImplementedError
  
imports: import math
  from collections import namedtuple
  import torch
  from modules import prompt_parser, devices, sd_hijack
  from modules.shared import opts
label_desc: Use image node_id 5 for calling the FrozenCLIPEmbedderWithCustomWordsBase obj's underlying member method code with example usage: obj.encode_with_transformers(tokens) without return types