Fix #ifdef statement
PiperOrigin-RevId: 481952827
This commit is contained in:
parent
47de64fc10
commit
6bb5ff989d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user