diff --git a/mace/runtimes/apu/v4/neuron_delegate_kernel.cc b/mace/runtimes/apu/v4/neuron_delegate_kernel.cc index 5003f6e8..27a37747 100644 --- a/mace/runtimes/apu/v4/neuron_delegate_kernel.cc +++ b/mace/runtimes/apu/v4/neuron_delegate_kernel.cc @@ -89,7 +89,6 @@ bool NeuronDelegateKernel::Init(const NetDef *net_def, &restoredModel, &restoredCompilation, buffer.data(), buffer.size()); if (err == NEURON_NO_ERROR) { LOG(INFO) << "Load pre-compiled model successfully."; - nn_model_.reset(restoredModel); nn_compilation_.reset(restoredCompilation); return true; }