registry

This is summary documentation for hippynn.graphs.indextypes.registry module. Click here for full documentation.

Links to Full Documentation:

Storage for the logical relationships between index states, and a cache reduce redundant computations. Also includes the indextransformer decorator which registers computations that change index states. The index transformers do not live here because they are themselves nodes, and this package should be minimally dependent on the nodes themselves.

Functions

assign_index_aliases(*nodes)

Store the input set of nodes in the index cache as index aliases of each other.

clear_index_cache()

Remove any cached index types for nodes.

register_index_transformer(input_idxstate, ...)

Decorator for registering a transformer from one IdxType to another.