message: Fix the test_util to ModifyGraphWithDelegate after AllocateTensors.
diff: @@ -129,14 +129,14 @@ void SingleOpModel::BuildInterpreter(std::vector<std::vector<int>> input_shapes,
  interpreter_->SetAllowFp16PrecisionForFp32(allow_fp32_relax_to_fp16);
  + CHECK(interpreter_->AllocateTensors() == kTfLiteOk)
  + << "Cannot allocate tensors";
  + interpreter_->ResetVariableTensors();
  +
  // Modify delegate with function.
  if (apply_delegate_fn_) {
  apply_delegate_fn_(interpreter_.get());
  }
  -
  - CHECK(interpreter_->AllocateTensors() == kTfLiteOk)
  - << "Cannot allocate tensors";
  - interpreter_->ResetVariableTensors();
  }
  void SingleOpModel::Invoke() { CHECK(interpreter_->Invoke() == kTfLiteOk); }
  