Fix condition for activation function. FullyConnected in hexagon delegate doesn't support activation currently.
PiperOrigin-RevId: 312292018 Change-Id: I921f00a42d1092f8910acf563cd0e97afd46ddc2
This commit is contained in:
parent
e25d9862ca
commit
282db86128
@ -212,7 +212,7 @@ bool IsNodeSupportedByHexagon(const TfLiteRegistration* registration,
|
||||
reinterpret_cast<const TfLiteFullyConnectedParams*>(
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user