public static TestSet LoadRaw(string filename) { string fullpath = Path.Combine(Application.streamingAssetsPath, "TestSet", filename); using (BinaryReader file = Open(fullpath)) { var rawTestSet = new RawTestSet(); rawTestSet.input = LoadFloatArray(file); rawTestSet.labels = LoadFloatArray(file); return(new TestSet(rawTestSet));; } }
public TestSet(RawTestSet rawTestSet) { this.rawTestSet = rawTestSet; }