Example #1
0
        public void GenerateMemory(string dataPath, int inputVectorLength, int[] netScheme)
        {
            Generator generator = new Generator();

            generator.GenerateMemory(inputVectorLength, netScheme, dataPath);

            Console.WriteLine("Memory generated!");
        }
Example #2
0
        public void GenerateMemory()
        {
            Generator generator = new Generator();

            Console.Write("Input input-vector length: ");
            int inputVectorLength = Convert.ToInt32(Console.ReadLine());

            int[] netScheme = InputNetScheme();

            generator.GenerateMemory(inputVectorLength, netScheme, "memoryClear.txt");

            Console.WriteLine("Memory generated!");
        }
Example #3
0
        public void GenerateDefaultMemory(string dataPath)
        {
            Generator generator = new Generator();

            Console.Write("Input input-vector length: ");
            int inputVectorLength = 3;

            int[] netScheme = new int[2] {
                2, 2
            };

            generator.GenerateMemory(inputVectorLength, netScheme, dataPath);

            Console.WriteLine("Memory generated!");
        }