tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.cc
// Builds interpreter for a model, allocates tensors.
Builds interpreter for a model, allocates tensors.
Builds interpreter for a model allocates tensors .
absl::Status BuildInterpreter(const Model* model,
                              std::unique_ptr<Interpreter>* interpreter) {
  TfLiteStatus status =
      InterpreterBuilder(model, ops::builtin::BuiltinOpResolver())(interpreter);
  if (status != kTfLiteOk || !*interpreter) {
    return absl::InternalError(
        "Failed to initialize interpreter with model binary.");
  }
  return absl::OkStatus();
}
absl :: Status BuildInterpreter ( const Model * model , std :: unique_ptr < Interpreter > * interpreter ) { TfLiteStatus status = InterpreterBuilder ( model , ops :: builtin :: BuiltinOpResolver ( ) ) ( interpreter ) ; if ( status != kTfLiteOk || ! * interpreter ) { return absl :: InternalError ( " " ) ; } return absl :: OkStatus ( ) ; }
Builds interpreter for a model, allocates tensors.
Builds interpreter for a model allocates tensors .