/// <summary>3次元ベクトル全結合</summary>
        public static VariableNode TrivectorDense(VariableNode x, VariableNode w, bool gradmode = false)
        {
            Function function =
                new Functions.TrivectorConvolution.TrivectorDense(x.Shape, w.Shape, gradmode);

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

            return(y);
        }
        /// <summary>3次元ベクトル全結合</summary>
        public static Tensor TrivectorDense(Tensor x, Tensor w, bool gradmode = false)
        {
            Functions.TrivectorConvolution.TrivectorDense function =
                new Functions.TrivectorConvolution.TrivectorDense(x.Shape, w.Shape, gradmode);

            Tensor y = new Tensor(function.OutShape);

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

            return(y);
        }