public class ModelSerializer extends Object
Constructor and Description |
---|
ModelSerializer() |
Modifier and Type | Method and Description |
---|---|
static ComputationGraph |
restoreComputationGraph(File file) |
static ComputationGraph |
restoreComputationGraph(String path) |
static MultiLayerNetwork |
restoreMultiLayerNetwork(File file) |
static MultiLayerNetwork |
restoreMultiLayerNetwork(String path) |
static org.nd4j.linalg.heartbeat.reports.Task |
taskByModel(Model model) |
static void |
writeModel(Model model,
File file,
boolean saveUpdater) |
static void |
writeModel(Model model,
OutputStream stream,
boolean saveUpdater) |
static void |
writeModel(Model model,
String path,
boolean saveUpdater) |
public static void writeModel(@NonNull Model model, @NonNull File file, boolean saveUpdater) throws IOException
IOException
public static void writeModel(@NonNull Model model, @NonNull String path, boolean saveUpdater) throws IOException
IOException
public static void writeModel(@NonNull Model model, @NonNull OutputStream stream, boolean saveUpdater) throws IOException
IOException
public static MultiLayerNetwork restoreMultiLayerNetwork(@NonNull File file) throws IOException
IOException
public static MultiLayerNetwork restoreMultiLayerNetwork(@NonNull String path) throws IOException
IOException
public static ComputationGraph restoreComputationGraph(@NonNull String path) throws IOException
IOException
public static ComputationGraph restoreComputationGraph(@NonNull File file) throws IOException
IOException
public static org.nd4j.linalg.heartbeat.reports.Task taskByModel(Model model)
Copyright © 2016. All Rights Reserved.