コード例 #1
0
        public static void MeanPooling_3x3Kernel_5x5Input()
        {
            var intensities5x5MeanPooled3x3 =
                new NativeArray <float>(k_Intensities5x5MeanPooled3x3.Length, Allocator.Temp);

            Operations.MeanPool(s_Intensities5x5Native, intensities5x5MeanPooled3x3, 5, 5, 3, 3, 1, 1);

            intensities5x5MeanPooled3x3.AssertApproximatelyEqual(k_Intensities5x5MeanPooled3x3);
            intensities5x5MeanPooled3x3.Dispose();
        }