KerasModelImport
instead.@Deprecated
public class ModelConfiguration
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ComputationGraphConfiguration |
importFunctionalApiConfig(java.lang.String modelJson)
Deprecated.
Use
KerasModel instead |
static ComputationGraphConfiguration |
importFunctionalApiConfigFromFile(java.lang.String modelJsonFilename)
Deprecated.
|
static ComputationGraphConfiguration |
importFunctionalApiConfigFromInputStream(java.io.InputStream inputStream)
Deprecated.
|
static MultiLayerConfiguration |
importSequentialModelConfig(java.lang.String modelJson)
Deprecated.
Use
KerasSequentialModel instead |
static MultiLayerConfiguration |
importSequentialModelConfigFromFile(java.lang.String modelJsonFilename)
Deprecated.
|
static MultiLayerConfiguration |
importSequentialModelConfigFromInputStream(java.io.InputStream inputStream)
Deprecated.
|
@Deprecated public static MultiLayerConfiguration importSequentialModelConfigFromInputStream(java.io.InputStream inputStream) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
inputStream
- InputStream containing Keras Sequential configuration as valid JSON.java.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
@Deprecated public static ComputationGraphConfiguration importFunctionalApiConfigFromInputStream(java.io.InputStream inputStream) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
inputStream
- InputStream containing Keras Sequential configuration as valid JSON.java.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
@Deprecated public static MultiLayerConfiguration importSequentialModelConfigFromFile(java.lang.String modelJsonFilename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasSequentialConfiguration(java.lang.String, boolean)
insteadmodelJsonFilename
- Path to text file storing Keras Sequential configuration as valid JSON.java.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
@Deprecated public static ComputationGraphConfiguration importFunctionalApiConfigFromFile(java.lang.String modelJsonFilename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasModelConfiguration(java.lang.String, boolean)
insteadmodelJsonFilename
- Path to text file storing Keras Model configuration as valid JSON.java.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
@Deprecated public static MultiLayerConfiguration importSequentialModelConfig(java.lang.String modelJson) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasSequentialModel
insteadmodelJson
- String storing Keras Sequential configuration as valid JSON.java.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
@Deprecated public static ComputationGraphConfiguration importFunctionalApiConfig(java.lang.String modelJson) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModel
insteadmodelJson
- String storing Keras Model configuration as valid JSON.java.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException