MCPcopy Create free account
hub / github.com/openai/point-e / embed_text

Method embed_text

point_e/models/pretrained_clip.py:253–255  ·  view source on GitHub ↗
(self, prompts: Iterable[str])

Source from the content-addressed store, hash-verified

251 return self.model.embed_images(xs)
252
253 def embed_text(self, prompts: Iterable[str]) -> torch.Tensor:
254 with torch.no_grad():
255 return self.model.embed_text(prompts)
256
257 def embed_images_grid(self, xs: Iterable[Optional[ImageType]]) -> torch.Tensor:
258 with torch.no_grad():

Callers

nothing calls this directly

Calls 1

embed_textMethod · 0.45

Tested by

no test coverage detected