Home
last modified time | relevance | path

Searched refs:set_allocator (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/lite/src/
Dsub_graph_kernel.cc185 tensor->set_allocator(allocator); in Prepare()
192 tensor->set_allocator(context->allocator); in Prepare()
218 tensor->set_allocator(this->Context()->allocator); in Prepare()
222 out->set_allocator(this->Context()->allocator); in Prepare()
Dtensorlist.h151 void set_allocator(AllocatorPtr allocator) override { in set_allocator() function
155 tensor->set_allocator(allocator); in set_allocator()
Dlite_mindrt.cc120 old_tensor->set_allocator(kernel_->Context()->allocator); in IsolateInputData()
134 new_tensor->set_allocator(old_tensor->allocator()); in IsolateInputData()
137 new_tensor->set_allocator(kernel_->Context()->allocator); in IsolateInputData()
289 dst_tensor->set_allocator(src_tensor->allocator()); in MoveTensorInputData()
387 dst_tensorlist->set_allocator(src_tensorlist->allocator()); in MoveTensorListInputData()
436 dst_tensorlist->set_allocator(src_tensorlist->allocator()); in CastTensorListInputData()
Dmindrt_executor.cc164 src_tensor->set_allocator(nullptr); in FreeOutputTensor()
Dtensorlist.cc111 tensor_ptr->set_allocator(this->allocator()); in MallocTensorListData()
Dlite_session.cc424 new_tensor->set_allocator(src_tensor->allocator()); /* GPU use opencl allocator */ in IsolateOutputTensor()
612 input->set_allocator(this->context_->allocator); in SetAllocatorForDelegateKernels()
616 output->set_allocator(this->context_->allocator); in SetAllocatorForDelegateKernels()
Dtensor.h113 void set_allocator(AllocatorPtr allocator) override { allocator_ = allocator; } in set_allocator() function
Dtensor.cc66 result->set_allocator(allocator); in CopyTensor()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/
Dopencl_subgraph.cc201 tensor->set_allocator(allocator_); in Init()
205 tensor->set_allocator(allocator_); in Init()
307 tensor->set_allocator(allocator_); in Prepare()
311 tensor->set_allocator(allocator_); in Prepare()
326 tensor->set_allocator(allocator_); in Prepare()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/control/
Dtensorlist_setitem.cc92 output0_->set_allocator(ms_context_->allocator); in Run()
106 output0_->set_allocator(ms_context_->allocator); in Run()
/third_party/mindspore/mindspore/lite/include/
Dms_tensor.h48 virtual void set_allocator(AllocatorPtr allocator) = 0;
/third_party/mindspore/mindspore/lite/micro/example/mnist_x86/src/
Dtensor.h45 void set_allocator(AllocatorPtr allocator) override {} in set_allocator() function
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/src/
Dtensor.h45 void set_allocator(mindspore::Allocator *allocator) override {} in set_allocator() function
/third_party/mindspore/mindspore/lite/test/st/
Dgraph_test.cc71 out_tensor->set_allocator(nullptr); in TEST_F()
/third_party/mindspore/mindspore/lite/src/cxx_api/tensor/
Dtensor_impl.h151 lite_tensor_->set_allocator(allocator); in SetAllocator()
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_utils.cc158 restore_tensor->set_allocator(tensor->allocator()); in CastTensor()
/third_party/boost/boost/property_tree/detail/
Drapidxml.hpp540 void set_allocator(boost_ptree_raw_alloc_func *af, boost_ptree_raw_free_func *ff) in set_allocator() function in boost::property_tree::detail::rapidxml::memory_pool
/third_party/boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/contrib/rapidxml-1.13/
Drapidxml.hpp552 void set_allocator(alloc_func *af, free_func *ff) in set_allocator() function in rapidxml::memory_pool