/// <summary>四元数転置全結合</summary>
        public static VariableNode QuaternionTransposeDense(VariableNode x, VariableNode w, bool gradmode = false)
        {
            Function function =
                new Functions.QuaternionConvolution.QuaternionTransposeDense(x.Shape, w.Shape, gradmode);

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

            return(y);
        }
        /// <summary>四元数転置全結合</summary>
        public static Tensor QuaternionTransposeDense(Tensor x, Tensor w, bool gradmode = false)
        {
            Functions.QuaternionConvolution.QuaternionTransposeDense function =
                new Functions.QuaternionConvolution.QuaternionTransposeDense(x.Shape, w.Shape, gradmode);

            Tensor y = new Tensor(function.OutShape);

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

            return(y);
        }