alue of 1 means that
the output of the pre-final layer will be used for computing the prompt embeddings.    Encodes the prompt into text encoder hidden states.  get_clip_feature  < source > ( input normalize_constant device is_image = False  )    Get image and phrases embedding by using CLIP pretrain model. The image embedding is transformed into the
phrases embedding space through a projection.  get_cross_attention_kwargs_with_grounded  < sour