code: def _get_embedding_op(config):
      if config.device == -1:
          device = "cpu"
      else:
          device = config.device
  
      if config.customize_embedding_op is not None:
          return config.customize_embedding_op
  
      return ops.image_text_embedding.clip(
          model_name=config.model,
          modality=config.modality,
          device=device,
      )
  
file_path: towhee/towhee/pipelines/text_image_embedding.py
imports: from typing import Optional, Any
  from pydantic import BaseModel
  from towhee import pipe, ops, AutoPipes, AutoConfig
label_desc: Use image node_id 1 for calling a global function with example usage: _get_embedding_op(config) and returns: ops, config