class_docstr: Uses the CLIP image encoder.
class_docstr_tok: ["Uses","the","CLIP","image","encoder","."]
code: def forward(self, x):
      # x is assumed to be in range [-1,1]
      return self.model.encode_image(self.preprocess(x))
  
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 3 for calling the FrozenClipImageEmbedder obj's underlying member method code with example usage: obj.forward(x) and returns: self