コード例 #1
0
ファイル: Tensor.cs プロジェクト: kapkapas/Neuro
        public void Conv2D(Tensor kernels, int stride, PaddingType padding, Tensor result)
        {
            Debug.Assert(Depth == kernels.Depth);

            int outputWidth = 0, outputHeight = 0, paddingX = 0, paddingY = 0;

            GetPaddingParams(padding, Width, Height, kernels.Width, kernels.Height, stride, out outputHeight, out outputWidth, out paddingX, out paddingY);

            Op.Conv2D(this, kernels, stride, paddingX, paddingY, result);
        }
コード例 #2
0
        public void Conv2D(Tensor kernels, int stride, PaddingType padding, Tensor result)
        {
            Debug.Assert(Depth == kernels.Depth);

            Op.Conv2D(this, kernels, stride, padding, result);
        }