示例#1
0
        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));;
            }
        }
示例#2
0
 public TestSet(RawTestSet rawTestSet)
 {
     this.rawTestSet = rawTestSet;
 }