We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d973adf commit 23d94f8Copy full SHA for 23d94f8
src/cpu/acl/acl_post_ops.hpp
@@ -142,10 +142,8 @@ struct acl_post_ops_t {
142
143
CHECK(base_post_ops.set_default_formats(&dst_md));
144
dst_data_type = dst_md.data_type;
145
- // If the first entry is eltwise, we fuse it, except when the datatype
146
- // is fp16 because in this case we want to execute the eltwise in fp32.
147
- if (base_post_ops.len() >= 1 && base_post_ops.entry_[0].is_eltwise()
148
- && dst_data_type != data_type::f16) {
+ // If the first entry is eltwise, we fuse it
+ if (base_post_ops.len() >= 1 && base_post_ops.entry_[0].is_eltwise()) {
149
150
const auto &first_po = base_post_ops.entry_[0].eltwise;
151
ACL_CHECK_SUPPORT(first_po.scale != 1.0f,
0 commit comments