public void LoadHiddenLayerWeights(string BaseDirectory, string BaseFileName, int sizex, int sizey)
        {
            var filename = string.Format("{0}/{1}.txt", BaseDirectory, BaseFileName);

            ManagedOps.Free(Wkj);

            Wkj = new ManagedArray(sizex, sizey);

            ManagedFile.Load2DV2(filename, Wkj);
        }
Esempio n. 2
0
        public ManagedArray LoadClassification(string BaseDirectory, string BaseFileName, int sizex, int sizey)
        {
            var classification = new ManagedArray(sizex, sizey);

            var filename = string.Format("{0}/{1}.txt", BaseDirectory, BaseFileName);

            ManagedFile.Load2DV2(filename, classification);

            return(classification);
        }