Skip to content

Commit db43d60

Browse files
luo-cheng2021EgorDuplensky
authored andcommitted
fix depthwise nwc conv
1 parent fb62cad commit db43d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cpu/x64/jit_uni_fork_dw_convolution.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ void jit_uni_fork_dw_convolution_fwd_t<isa, src_type, dst_type>::execute_forward
7878
int str_h = jcp.stride_h;
7979
int str_w = jcp.stride_w;
8080

81-
const auto is_src_layout_nxc = one_of(jcp.src_tag, format_tag::nhwc, format_tag::ndhwc);
82-
const auto is_dst_layout_nxc = one_of(jcp.dst_tag, format_tag::nhwc, format_tag::ndhwc);
81+
const auto is_src_layout_nxc = one_of(jcp.src_tag, format_tag::nwc, format_tag::nhwc, format_tag::ndhwc);
82+
const auto is_dst_layout_nxc = one_of(jcp.dst_tag, format_tag::nwc, format_tag::nhwc, format_tag::ndhwc);
8383

8484
auto kernel_params = [&](int ur_w_step, int ow, int oh, int od, int ih, int id, int kh, int kd,
8585
int kh_padding, int kd_padding, int ch, int ch_step, int n, int work_rem) {

0 commit comments

Comments
 (0)