コード例 #1
0
        /// <summary>ポイントごとの2次元逆畳み込み</summary>
        public static VariableNode PointwiseDeconvolution2D(VariableNode x, VariableNode w)
        {
            Function function =
                new Functions.Connection2D.PointwiseDeconvolution(x.Shape, w.Shape);

            VariableNode y = Apply(function, x, w)[0];

            return(y);
        }
コード例 #2
0
        /// <summary>ポイントごとの2次元逆畳み込み</summary>
        public static Tensor PointwiseDeconvolution2D(Tensor x, Tensor w)
        {
            Functions.Connection2D.PointwiseDeconvolution function =
                new Functions.Connection2D.PointwiseDeconvolution(x.Shape, w.Shape);

            Tensor y = new Tensor(function.OutShape);

            function.Execute(new Tensor[] { x, w }, new Tensor[] { y });

            return(y);
        }