Fix #ifdef statement

PiperOrigin-RevId: 481952827
This commit is contained in:
Sebastian Schmidt 2022-10-18 10:11:17 -07:00 committed by Copybara-Service
parent 47de64fc10
commit 6bb5ff989d

View File

@ -91,7 +91,7 @@ class TfLiteModelCalculator : public CalculatorBase {
tflite::DefaultErrorReporter()); tflite::DefaultErrorReporter());
model = tflite::FlatBufferModel::BuildFromAllocation( model = tflite::FlatBufferModel::BuildFromAllocation(
std::move(model_allocation), tflite::DefaultErrorReporter()); std::move(model_allocation), tflite::DefaultErrorReporter());
#elif #else
return absl::FailedPreconditionError( return absl::FailedPreconditionError(
"Loading by file descriptor is not supported on this platform.") "Loading by file descriptor is not supported on this platform.")
#endif #endif