mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-28 20:11:22 +00:00
Update onnxruntime/core/providers/nnapi/nnapi_builtin/model.cc
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
This commit is contained in:
parent
d490908836
commit
d236085845
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ Status Model::PrepareForExecution(std::unique_ptr<Execution>& execution) {
|
|||
RETURN_STATUS_ON_ERROR(
|
||||
nnapi_.ANeuralNetworksExecution_create(compilation_, &nnapi_execution));
|
||||
|
||||
execution.reset(new Execution(*nnapi_execution /*, shaper_*/, nnapi_));
|
||||
execution = std::make_unique<Execution>(*nnapi_execution /*, shaper_*/, nnapi_);
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue