/// <summary>3次元畳み込み</summary> public static VariableNode Convolution3D(VariableNode x, VariableNode w, int stride) { Function function = new Functions.Connection3D.Convolution(x.Shape, w.Shape, stride); VariableNode y = Apply(function, x, w)[0]; return(y); }
/// <summary>3次元畳み込み</summary> public static Tensor Convolution3D(Tensor x, Tensor w, int stride) { Functions.Connection3D.Convolution function = new Functions.Connection3D.Convolution(x.Shape, w.Shape, stride); Tensor y = new Tensor(function.OutShape); function.Execute(new Tensor[] { x, w }, new Tensor[] { y }); return(y); }