Exemplo n.º 1
0
        public void TestForwardEltwiseScale()
        {
            Normalization2LayerTest test = new Normalization2LayerTest();

            try
            {
                foreach (INormalization2LayerTest t in test.Tests)
                {
                    t.TestForward(10.0, true, false);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 2
0
        public void TestForward()
        {
            Normalization2LayerTest test = new Normalization2LayerTest();

            try
            {
                foreach (INormalization2LayerTest t in test.Tests)
                {
                    t.TestForward();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 3
0
        public void TestGradientEltwiseScaleChannel()
        {
            Normalization2LayerTest test = new Normalization2LayerTest();

            try
            {
                foreach (INormalization2LayerTest t in test.Tests)
                {
                    t.TestGradient(3, false, false);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 4
0
        public void TestGradientScale()
        {
            Normalization2LayerTest test = new Normalization2LayerTest();

            try
            {
                foreach (INormalization2LayerTest t in test.Tests)
                {
                    t.TestGradient(3);
                }
            }
            finally
            {
                test.Dispose();
            }
        }