# CustomDecompTable Source: https://www.tensorplay.cn/docs/generated/tensorplay.export.CustomDecompTable.html ```python class tensorplay.export.CustomDecompTable(entries: Mapping[Any, Callable[[...], Any]] | Iterable[tuple[Any, Callable[[...], Any]]] | None = None, *, defaults: bool = True) ``` A validated mutable mapping from graph targets to replacement callables. Entries are keyed by graph target (callable or method name). Removing a key preserves the op from rewriting; materialize returns a plain dict for consumers that require one. ```python clear() → None.  Remove all items from D. ``` ```python classmethod fromkeys(iterable, value=None, /) ``` Create a new dictionary with keys from iterable and values set to value. ```python materialize() → dict[Any, Callable[[...], Any]] ``` Return a plain dict of effective entries, resolving defaults. ```python popitem() ``` Remove and return a (key, value) pair as a 2-tuple. Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty. ```python remove(target: Any) → Callable[[...], Any] ``` Preserve target by deleting its decomposition entry. ```python setdefault(key, default=None, /) ``` Insert key with a value of default if key is not in the dictionary. Return the value for key if key is in the dictionary, else default.