diff options
Diffstat (limited to 'src/core/cpu')
-rw-r--r-- | src/core/cpu/kernels/CpuDirectConv2dKernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu/kernels/CpuDirectConv2dKernel.cpp b/src/core/cpu/kernels/CpuDirectConv2dKernel.cpp index c0fc41525e..faff55e905 100644 --- a/src/core/cpu/kernels/CpuDirectConv2dKernel.cpp +++ b/src/core/cpu/kernels/CpuDirectConv2dKernel.cpp @@ -987,7 +987,7 @@ std::pair<Status, Window> validate_and_configure_window(ITensorInfo *src, ITenso return std::make_pair(err, win); } -bool have_zero_x_internal_padding(ITensorInfo *src, ITensorInfo *weights) +bool have_zero_x_internal_padding(ITensorInfo *src, const ITensorInfo *weights) { return (src->padding().left == 0 && weights->padding().left == 0 && src->padding().right == 0 && weights->padding().right == 0); } |