Example #1
0
        public void TestForwardBroadcastBegin()
        {
            BiasLayerTest test = new BiasLayerTest();

            try
            {
                foreach (IBiasLayerTest t in test.Tests)
                {
                    t.TestForwardBroadcastBegin();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Example #2
0
        public void TestForwardEltwiseWithParam()
        {
            BiasLayerTest test = new BiasLayerTest();

            try
            {
                foreach (IBiasLayerTest t in test.Tests)
                {
                    t.TestForwardEltwiseWithParam();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Example #3
0
        public void TestGradientBiasAxis2()
        {
            BiasLayerTest test = new BiasLayerTest();

            try
            {
                foreach (IBiasLayerTest t in test.Tests)
                {
                    t.TestGradientBiasAxis2();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Example #4
0
        public void TestBackwardEltwiseInPlace()
        {
            BiasLayerTest test = new BiasLayerTest();

            try
            {
                foreach (IBiasLayerTest t in test.Tests)
                {
                    t.TestBackwardEltwiseInPlace();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Example #5
0
        public void TestGradientBroadcastMiddleWithParam()
        {
            BiasLayerTest test = new BiasLayerTest();

            try
            {
                foreach (IBiasLayerTest t in test.Tests)
                {
                    t.TestGradientBroadcastMiddleWithParam();
                }
            }
            finally
            {
                test.Dispose();
            }
        }