graphlow.core.MeshTopology.free_host_skeletons#
- MeshTopology.free_host_skeletons(name: str | None = None) None#
Free host skeletons.
Advanced API: for explicit control over host memory. Frees the scipy.sparse skeleton cache so that memory can be reclaimed. Use when you have finished using get_skeleton / get_derived_skeleton and want to release host memory.
- Parameters:
- namestr | None
Skeleton name. If None, free all skeletons. - For incidence/adjacency, the name is like “CP”, “CC”. - For derived skeletons, the name is formatted as “[DerivedMatrixName]_[AdjacencyName]”. e.g. “DEGREE_PP”, “NORMALIZED_PP”, “LAPLACIAN_CC”.