public void TestTrain()
        {
            MyCaffeControlTest test = new MyCaffeControlTest();

            try
            {
                foreach (IMyCaffeControlTest t in test.Tests)
                {
                    t.TestTrain();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestLoadReinforcement()
        {
            MyCaffeControlTest test = new MyCaffeControlTest();

            try
            {
                foreach (IMyCaffeControlTest t in test.Tests)
                {
                    t.TestLoad(true);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestTestManyWithTensorCores()
        {
            MyCaffeControlTest test = new MyCaffeControlTest();

            try
            {
                foreach (IMyCaffeControlTest t in test.Tests)
                {
                    t.TestTestMany(true);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestTrainMultiGpu2()
        {
            MyCaffeControlTest test = new MyCaffeControlTest();

            try
            {
                List <int> rgGpu = getGpus(2);
                foreach (IMyCaffeControlTest t in test.Tests)
                {
                    t.TestTrainMultiGpu(rgGpu.ToArray());
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestTrainMultiGpu4()
        {
            MyCaffeControlTest test = new MyCaffeControlTest();

            try
            {
                List <int> rgGpu = getGpus(4);
                if (rgGpu.Count < 4)
                {
                    return;
                }

                foreach (IMyCaffeControlTest t in test.Tests)
                {
                    t.TestTrainMultiGpu(rgGpu.ToArray());
                }
            }
            finally
            {
                test.Dispose();
            }
        }