Karana.KUtils.darts_model_file_converter

Karana.KUtils.darts_model_file_converter#

Convert DARTS model files to SubGraphDS.

This module contains tools to convert a DARTS model file to a SubGraphDS. Use the convertDARTSModelFile to do so.

Functions#

convertDARTSModelFile(...)

Convert a DARTS model file into a SubGraphDS.

Module Contents#

Karana.KUtils.darts_model_file_converter.convertDARTSModelFile(filename: pathlib.Path | str) Karana.Dynamics.SOADyn_types.SubGraphDS[source]#

Convert a DARTS model file into a SubGraphDS.

Parameters:

filename (Path|str) – The DARTS model file to convert.

Returns:

The SubGraphDS that corresponds with the provided DARTS model file.

Return type:

SubGraphDS