tglite.TContext.enable_embed_caching¶
- TContext.enable_embed_caching(enabled: bool, dim_embed: int = None)¶
Performs embedding cache settings and clear cache tables.
- Parameters:
enabled (bool) – Whether to enable embedding caching.
dim_embed – Dimension of node embeddings.
- Raises:
TError – If enable is True and dim_embed is None.