public void Conv2D(Tensor kernels, int stride, PaddingType padding, Tensor result) { Debug.Assert(Depth == kernels.Depth); int outputWidth = 0, outputHeight = 0, paddingX = 0, paddingY = 0; GetPaddingParams(padding, Width, Height, kernels.Width, kernels.Height, stride, out outputHeight, out outputWidth, out paddingX, out paddingY); Op.Conv2D(this, kernels, stride, paddingX, paddingY, result); }
public void Conv2D(Tensor kernels, int stride, PaddingType padding, Tensor result) { Debug.Assert(Depth == kernels.Depth); Op.Conv2D(this, kernels, stride, padding, result); }