示例#1
0
        public void TestForwardBroadcastBegin()
        {
            ScaleLayerTest test = new ScaleLayerTest();

            try
            {
                foreach (IScaleLayerTest t in test.Tests)
                {
                    t.TestForwardBroadcastBegin();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#2
0
        public void TestForwardEltwiseWithParam()
        {
            ScaleLayerTest test = new ScaleLayerTest();

            try
            {
                foreach (IScaleLayerTest t in test.Tests)
                {
                    t.TestForwardEltwiseWithParam();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#3
0
        public void TestBackwardEltwiseInPlace()
        {
            ScaleLayerTest test = new ScaleLayerTest();

            try
            {
                foreach (IScaleLayerTest t in test.Tests)
                {
                    t.TestBackwardEltwiseInPlace();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#4
0
        public void TestGradientScaleAxis2()
        {
            ScaleLayerTest test = new ScaleLayerTest();

            try
            {
                foreach (IScaleLayerTest t in test.Tests)
                {
                    t.TestGradientScaleAxis2();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#5
0
        public void TestGradientBroadcastMiddleWithParam()
        {
            ScaleLayerTest test = new ScaleLayerTest();

            try
            {
                foreach (IScaleLayerTest t in test.Tests)
                {
                    t.TestGradientBroadcastMiddleWithParam();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#6
0
        public void TestForwardBroadcastMiddleWithParamAndBias()
        {
            ScaleLayerTest test = new ScaleLayerTest();

            try
            {
                foreach (IScaleLayerTest t in test.Tests)
                {
                    t.TestForwardBroadcastMiddleWithParamAndBias();
                }
            }
            finally
            {
                test.Dispose();
            }
        }