KerasModelImport
instead.@Deprecated
public class Model
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ComputationGraph |
importFunctionalApiModel(java.lang.String modelHdf5Filename)
Deprecated.
|
static ComputationGraph |
importFunctionalApiModel(java.lang.String configJsonFilename,
java.lang.String weightsHdf5Filename)
Deprecated.
|
static ComputationGraph |
importFunctionalApiModelInputStream(java.io.InputStream modelHdf5Stream)
Deprecated.
|
static Model |
importModel(java.lang.String modelHdf5Filename)
Deprecated.
|
static Model |
importModel(java.lang.String configJsonFilename,
java.lang.String weightsHdf5Filename)
Deprecated.
|
static Model |
importModelInputStream(java.io.InputStream modelHdf5Stream)
Deprecated.
|
static MultiLayerNetwork |
importSequentialModel(java.lang.String modelHdf5Filename)
Deprecated.
|
static MultiLayerNetwork |
importSequentialModel(java.lang.String configJsonFilename,
java.lang.String weightsHdf5Filename)
Deprecated.
|
static MultiLayerNetwork |
importSequentialModelInputStream(java.io.InputStream modelHdf5Stream)
Deprecated.
|
@Deprecated public static Model importModelInputStream(java.io.InputStream modelHdf5Stream) throws UnsupportedKerasConfigurationException, java.io.IOException, InvalidKerasConfigurationException
KerasModelImport.importKerasModelAndWeights(java.io.InputStream, boolean)
insteadmodelHdf5Stream
- input stream storing Keras Sequential modelUnsupportedKerasConfigurationException
java.io.IOException
Model
InvalidKerasConfigurationException
MultiLayerNetwork
@Deprecated public static MultiLayerNetwork importSequentialModelInputStream(java.io.InputStream modelHdf5Stream) throws UnsupportedKerasConfigurationException, java.io.IOException, InvalidKerasConfigurationException
KerasModelImport.importKerasSequentialModelAndWeights(java.io.InputStream, boolean)
insteadmodelHdf5Stream
- input stream storing Keras Sequential modelUnsupportedKerasConfigurationException
java.io.IOException
InvalidKerasConfigurationException
MultiLayerNetwork
@Deprecated public static ComputationGraph importFunctionalApiModelInputStream(java.io.InputStream modelHdf5Stream) throws UnsupportedKerasConfigurationException, java.io.IOException, InvalidKerasConfigurationException
KerasModelImport.importKerasModelAndWeights(java.io.InputStream, boolean)
insteadmodelHdf5Stream
- input stream storing storing Keras Functional API modelUnsupportedKerasConfigurationException
java.io.IOException
InvalidKerasConfigurationException
@Deprecated public static Model importModel(java.lang.String modelHdf5Filename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasModelAndWeights(java.io.InputStream, boolean)
insteadmodelHdf5Filename
- path to HDF5 archive storing Keras modeljava.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
Model
@Deprecated public static Model importModel(java.lang.String configJsonFilename, java.lang.String weightsHdf5Filename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasModelAndWeights(java.io.InputStream, boolean)
insteadconfigJsonFilename
- path to JSON file storing Keras Functional API model configurationweightsHdf5Filename
- path to HDF5 archive storing Keras Functional API model weightsjava.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
Model
@Deprecated public static MultiLayerNetwork importSequentialModel(java.lang.String modelHdf5Filename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasSequentialModelAndWeights(java.io.InputStream, boolean)
insteadmodelHdf5Filename
- path to HDF5 archive storing Keras Sequential modeljava.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
MultiLayerNetwork
@Deprecated public static ComputationGraph importFunctionalApiModel(java.lang.String modelHdf5Filename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasModelAndWeights(java.io.InputStream, boolean)
insteadmodelHdf5Filename
- path to HDF5 archive storing Keras Functional API modeljava.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
ComputationGraph
@Deprecated public static MultiLayerNetwork importSequentialModel(java.lang.String configJsonFilename, java.lang.String weightsHdf5Filename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasSequentialModelAndWeights(java.io.InputStream, boolean)
insteadconfigJsonFilename
- path to JSON file storing Keras Functional API model configurationweightsHdf5Filename
- path to HDF5 archive storing Keras Functional API model weightsjava.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
MultiLayerNetwork
@Deprecated public static ComputationGraph importFunctionalApiModel(java.lang.String configJsonFilename, java.lang.String weightsHdf5Filename) throws java.io.IOException, InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
KerasModelImport.importKerasModelAndWeights(java.io.InputStream, boolean)
insteadconfigJsonFilename
- path to JSON file storing Keras Functional API model configurationweightsHdf5Filename
- path to HDF5 archive storing Keras Functional API model weightsjava.io.IOException
InvalidKerasConfigurationException
UnsupportedKerasConfigurationException
ComputationGraph