extractTextEmbeddings
Extract text embeddings from search text using CLIP network text encoder
Since R2026a
Syntax
Description
Add-On Required: This feature requires the Computer Vision Toolbox Model for OpenAI CLIP Network add-on.
extracts text embeddings from the search text textEmbeddings = extractTextEmbeddings(clip,text)text using the text
encoder of a Contrastive Language-Image Pre-Training (CLIP) network,
clip, by running a forward pass on the neural network.
Note
This functionality requires Deep Learning Toolbox™.
specifies options using one or more name-value arguments. For example,
textEmbeddings = extractTextEmbeddings(clip,text,Name=Value)MiniBatchSize=32 limits the batch size to 32 text strings.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2026a