class_docstr: Uses the CLIP transformer encoder for text (from Hugging Face)
class_docstr_tok: ["Uses","the","CLIP","transformer","encoder","for","text","(","from","Hugging","Face",")"]
code: def freeze(self):
      self.transformer = self.transformer.eval()
      for param in self.parameters():
          param.requires_grad = False
  
imports: import torch
  import torch.nn
  from functools import partial
  import clip
  from einops import rearrange, repeat
  from transformers import CLIPTokenizer, CLIPTextModel
  import kornia
  from ldm.modules.x_transformer import Encoder, TransformerWrapper
label_desc: Use image node_id 2 for calling the FrozenCLIPEmbedder obj's underlying member method code with example usage: obj.freeze() without return types