Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
let convolutionbiasbackprop apply to 5D (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Brookhart authored and Adam Procter committed Dec 13, 2018
1 parent bf14a38 commit ada8d9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ngraph/runtime/cpu/pass/cpu_assignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ namespace ngraph
data_dilated = data_dilated || (s != 1);
}

if (!data_dilated && data_rank == 4 && delta_rank == 4 &&
if (!data_dilated && data_rank == delta_rank &&
(data_rank == 4 || data_rank == 5) &&
node->get_input_element_type(0) == element::f32)
{
runtime::cpu::mkldnn_utils::assign_mkldnn_kernel(node);
Expand Down

0 comments on commit ada8d9b

Please sign in to comment.