diff --git a/tensorflow/lite/experimental/delegates/hexagon/utils.cc b/tensorflow/lite/experimental/delegates/hexagon/utils.cc index d6e5e7bc8cd..c6bb99761cb 100644 --- a/tensorflow/lite/experimental/delegates/hexagon/utils.cc +++ b/tensorflow/lite/experimental/delegates/hexagon/utils.cc @@ -212,7 +212,7 @@ bool IsNodeSupportedByHexagon(const TfLiteRegistration* registration, reinterpret_cast( node->builtin_data); return (weights_const && bias_const_or_no_bias && - IsActivationReluOrNone(matmul_params->activation) && + matmul_params->activation == kTfLiteActNone && matmul_params->keep_num_dims == false && matmul_params->weights_format == kTfLiteFullyConnectedWeightsFormatDefault);