Imported Upstream version 1.8.0
[platform/core/ml/nnfw.git] / runtime / onert / core / src / exec / ExecutorBase.cc
index a7409b9..864ccb3 100644 (file)
@@ -46,7 +46,7 @@ ExecutorBase::ExecutorBase(std::unique_ptr<ir::LoweredGraph> &&lowered_graph,
         {
           auto tensor_registry = tensor_builder->tensorRegistry();
           assert(tensor_registry);
-          tensor = tensor_registry->getManagedITensor(ind);
+          tensor = tensor_registry->getNativeITensor(ind);
           if (tensor != nullptr)
           {
             if (tensor_builder->supportDynamicTensor())
@@ -71,7 +71,7 @@ ExecutorBase::ExecutorBase(std::unique_ptr<ir::LoweredGraph> &&lowered_graph,
         {
           auto tensor_registry = tensor_builder->tensorRegistry();
           assert(tensor_registry);
-          tensor = tensor_registry->getManagedITensor(ind);
+          tensor = tensor_registry->getNativeITensor(ind);
           if (tensor != nullptr)
           {
             if (tensor_builder->supportDynamicTensor())