/// <summary>四元数1次元カーネル積</summary>
        public static VariableNode QuaternionKernelProduct1D(VariableNode x, VariableNode y, int kwidth, int stride, bool transpose = false)
        {
            Function function =
                new Functions.QuaternionConvolution.QuaternionKernelProduct1D(x.Shape, y.Shape, kwidth, stride, transpose);

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

            return(w);
        }
        /// <summary>四元数1次元カーネル積</summary>
        public static Tensor QuaternionKernelProduct1D(Tensor x, Tensor y, int kwidth, int stride, bool transpose = false)
        {
            Functions.QuaternionConvolution.QuaternionKernelProduct1D function =
                new Functions.QuaternionConvolution.QuaternionKernelProduct1D(x.Shape, y.Shape, kwidth, stride, transpose);

            Tensor w = new Tensor(function.OutShape);

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

            return(w);
        }