Skip to content
heliaEDGE
Reference
HELIA

export

Keras serialization registration without changing decorated object types.

Machine-readable model

function

Register a function or configurable object with Keras serialization.

helia_edge/utils/export.py:8

maybe_register_serializable(symbol: object, package: str) -> None

Register a function or configurable object with Keras serialization.

Objects without get_config are skipped unless they are Python functions. Registration updates the Keras custom-object registry; this helper does not wrap the supplied object.

Parameters of maybe_register_serializable
NameTypeDefaultDescription
symbolobjectRequiredFunction or object to consider for registration.
packagestrRequiredKeras serialization package used to qualify its registered name.
Returns of maybe_register_serializable
TypeDescription
NoneNone.