Exemplo n.º 1
0
        /// <summary>2次元ゼロパディング</summary>
        public static Field ZeroPadding2D(Field x, int pad)
        {
            Field y    = new Field();
            Link  link = new Links.Connection2D.ZeroPadding(x, y, pad);

            link.Forward();

            return(y);
        }
Exemplo n.º 2
0
        /// <summary>2次元ゼロパディング</summary>
        public static Field ZeroPadding2D(Field x, int pad_left, int pad_right, int pad_top, int pad_bottom)
        {
            Field y    = new Field();
            Link  link = new Links.Connection2D.ZeroPadding(x, y, pad_left, pad_right, pad_top, pad_bottom);

            link.Forward();

            return(y);
        }