public class ModelGuesser extends Object
| Constructor and Description |
|---|
ModelGuesser() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
loadConfigGuess(InputStream stream)
Load the model from the given input stream
|
static Object |
loadConfigGuess(String path)
Load the model from the given file path
|
static Model |
loadModelGuess(InputStream stream)
Load the model from the given input stream
|
static Model |
loadModelGuess(String path)
Load the model from the given file path
|
static org.nd4j.linalg.dataset.api.preprocessor.Normalizer<?> |
loadNormalizer(InputStream is)
|
static org.nd4j.linalg.dataset.api.preprocessor.Normalizer<?> |
loadNormalizer(String path)
A facade for
ModelSerializer.restoreNormalizerFromFile(File) |
public static org.nd4j.linalg.dataset.api.preprocessor.Normalizer<?> loadNormalizer(InputStream is) throws IOException
is - the input stream to load formIOExceptionpublic static org.nd4j.linalg.dataset.api.preprocessor.Normalizer<?> loadNormalizer(String path)
ModelSerializer.restoreNormalizerFromFile(File)path - the path to the filepublic static Object loadConfigGuess(String path) throws Exception
path - the path of the file to "guess"Exceptionpublic static Object loadConfigGuess(InputStream stream) throws Exception
stream - the path of the file to "guess"Exceptionpublic static Model loadModelGuess(String path) throws Exception
path - the path of the file to "guess"Exceptionpublic static Model loadModelGuess(InputStream stream) throws Exception
stream - the path of the file to "guess"ExceptionCopyright © 2017. All rights reserved.