Class ModelSerializer
java.lang.Object
io.github.kirstenali.deepj.persistence.ModelSerializer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic intformatVersion(Path path) static ModelInspectionstatic ModelLayoutstatic voidstatic ModelSettingsload(List<Parameter> params, Path path, TransformerConfig expected) static voidstatic voidsave(List<Parameter> params, Path path, ModelSettings settings) static ModelSettings
-
Field Details
-
CURRENT_FORMAT_VERSION
public static final int CURRENT_FORMAT_VERSION- See Also:
-
-
Method Details
-
save
- Throws:
IOException
-
save
public static void save(List<Parameter> params, Path path, ModelSettings settings) throws IOException - Throws:
IOException
-
load
- Throws:
IOException
-
load
public static ModelSettings load(List<Parameter> params, Path path, TransformerConfig expected) throws IOException - Throws:
IOException
-
settings
- Throws:
IOException
-
formatVersion
- Throws:
IOException
-
inspect
- Throws:
IOException
-
layout
- Throws:
IOException
-