class_docstr: test CLIP attention visualization
code: def test_attention(self):
      model = clip.create_model(
          model_name="clip_vit_b32",
          pretrained=False,  # Use True in practice
          device=self.device,
          jit=False,
          vis=True,
      )
      mock_img = Image.new(mode="RGB", size=(20, 20))
      text_list = ["This is a mock text."]
      print(model)
      show_attention_for_clip(
          model, mock_img, text_list, device=self.device
      )
  
file_path: towhee/tests/unittests/models/visualization/test_clip_vis.py
imports: import unittest
  import torch
  from pathlib import Path
  from towhee.utils.pil_utils import PILImage
  from towhee.utils.matplotlib_utils import matplotlib
  from towhee.models.visualization.clip_visualization import show_attention_for_clip
  from towhee.models.clip import clip
label_desc: Use image node_id 1 for calling the TestCLIPAttention obj's underlying member method code with example usage: obj.test_attention() without return types