public class DataManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataManager.Info |
static interface |
DataManager.StatEntry |
Constructor and Description |
---|
DataManager() |
DataManager(boolean saveData) |
DataManager(String dataRoot,
boolean saveData) |
Modifier and Type | Method and Description |
---|---|
void |
appendStat(DataManager.StatEntry statEntry) |
String |
createSubdir() |
String |
getInfo() |
String |
getModelDir() |
String |
getStat() |
String |
getVideoDir() |
static <C> org.nd4j.linalg.primitives.Pair<IDQN,C> |
load(File file,
Class<C> cClass) |
static <C> org.nd4j.linalg.primitives.Pair<IDQN,C> |
load(InputStream is,
Class<C> cClass) |
static <C> org.nd4j.linalg.primitives.Pair<IDQN,C> |
load(String path,
Class<C> cClass) |
void |
save(Learning learning) |
static void |
save(OutputStream os,
Learning learning) |
static void |
save(String path,
Learning learning) |
void |
writeInfo(ILearning iLearning) |
public DataManager() throws IOException
IOException
public DataManager(boolean saveData) throws IOException
IOException
public DataManager(String dataRoot, boolean saveData) throws IOException
IOException
public static void save(String path, Learning learning) throws IOException
IOException
public static void save(OutputStream os, Learning learning) throws IOException
IOException
public static <C> org.nd4j.linalg.primitives.Pair<IDQN,C> load(File file, Class<C> cClass) throws IOException
IOException
public static <C> org.nd4j.linalg.primitives.Pair<IDQN,C> load(String path, Class<C> cClass) throws IOException
IOException
public static <C> org.nd4j.linalg.primitives.Pair<IDQN,C> load(InputStream is, Class<C> cClass) throws IOException
IOException
public String createSubdir() throws IOException
IOException
public String getVideoDir()
public String getModelDir()
public String getInfo()
public String getStat()
public void appendStat(DataManager.StatEntry statEntry) throws IOException
IOException
public void writeInfo(ILearning iLearning) throws IOException
IOException
public void save(Learning learning) throws IOException
IOException
Copyright © 2018. All rights reserved.