예제 #1
0
    public void BenchNeuralJagged()
    {
        NNetStruct t = new NeuralJagged();

        t.loops  = 3;
        t.adjust = 1;

        for (int i = 0; i < NeuralJaggedIterations; i++)
        {
            t.Run();
        }
    }
예제 #2
0
    public static void BenchNeuralJagged()
    {
        Setup();
        NNetStruct t = new NeuralJagged();

        t.loops  = 3;
        t.adjust = 1;

        foreach (var iteration in Benchmark.Iterations)
        {
            using (iteration.StartMeasurement())
            {
                for (int i = 0; i < NeuralJaggedIterations; i++)
                {
                    t.Run();
                }
            }
        }
    }
예제 #3
0
    public static void BenchNeuralJagged()
    {
        Setup();
        NNetStruct t = new NeuralJagged();
        t.loops = 100;
        t.adjust = 0;

        foreach (var iteration in Benchmark.Iterations)
        {
            using (iteration.StartMeasurement())
            {
                for (int i = 0; i < NeuralJaggedIterations; i++) 
                {
                    t.Run();
                }
            }
        }
    }