aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/FullyConnected.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/FullyConnected.hpp')
-rw-r--r--delegate/src/FullyConnected.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/delegate/src/FullyConnected.hpp b/delegate/src/FullyConnected.hpp
index 2b45c48a89..e94304fb21 100644
--- a/delegate/src/FullyConnected.hpp
+++ b/delegate/src/FullyConnected.hpp
@@ -77,15 +77,6 @@ TfLiteStatus VisitFullyConnectedOperator(DelegateData& delegateData,
{
return kTfLiteError;
}
- if ((isConstantWeights && !tflite::IsConstantTensor(&tfLiteBiasTensor))
- || (!isConstantWeights && tflite::IsConstantTensor(&tfLiteBiasTensor)))
- {
- TF_LITE_MAYBE_KERNEL_LOG(
- tfLiteContext,
- "TfLiteArmnnDelegate: Weights and bias are not compatible"
- " in operator #%d node #%d: ", operatorCode, nodeIndex);
- return kTfLiteError;
- }
biasTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteBiasTensor);
}
else