elasticai.creator.ir.deserializer#
Module Contents#
Classes#
Deserializes to the legacy format. |
API#
- class elasticai.creator.ir.deserializer.IrDeserializer(factory: elasticai.creator.ir.factories.IrFactory[N, E, G])[source]#
Initialization
- class elasticai.creator.ir.deserializer.IrDeserializerLegacy(factory: elasticai.creator.ir.factories.IrFactory[N, E, G])[source]#
Deserializes to the legacy format.
The only difference is that attributes are not stored in a dedicated field but at the top-level dict. Use this if you need to load an IR from data that was serialized using the
IrDatadata types.Initialization