Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
richagadgil committed Jan 29, 2025
1 parent 208ba2b commit cfcf4b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/targets/cpu/lowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ struct cpu_apply
// skip lowering if input has fp8 as one of the inputs since oneDNN doesn't have fp8
// supported yet.
if(std::any_of(it->inputs().begin(), it->inputs().end(), [](const auto& i) {
return contains(fp8_types{}.get(), i->get_shape().type()) or (i->get_shape().type() == shape::type_t::bf16_type)
return contains(fp8_types{}.get(), i->get_shape().type()) or (i->get_shape().type() == shape::type_t::bf16_type);
}))
continue;
if(it->name() == "pow")
Expand All @@ -391,7 +391,7 @@ struct cpu_apply
// skip lowering if input has fp8 as one of the inputs since oneDNN doesn't have fp8
// supported yet.
if(std::any_of(it->inputs().begin(), it->inputs().end(), [](const auto& i) {
return contains(fp8_types{}.get(), i->get_shape().type()) or (i->get_shape().type() == shape::type_t::bf16_type)
return contains(fp8_types{}.get(), i->get_shape().type()) or (i->get_shape().type() == shape::type_t::bf16_type);
}))
continue;
if(it->name() == "pooling")
Expand Down

0 comments on commit cfcf4b3

Please sign in to comment.