Searched refs:own_data (Results 1 – 17 of 17) sorted by relevance
160 void set_own_data(bool own_data) override { in set_own_data() argument161 this->own_data_ = own_data; in set_own_data()164 tensor->set_own_data(own_data); in set_own_data()
198 bool own_data() const { return this->own_data_; } in own_data() function200 virtual void set_own_data(bool own_data) { this->own_data_ = own_data; } in set_own_data() argument
41 …static DataStore *CreateDataStore(void *data = nullptr, bool own_data = true, Allocator *data_allo…54 data_store->own_data_ = own_data;
297 dst_tensor->set_own_data(src_tensor->own_data()); in MoveTensorInputData()399 dst_tensorlist->set_own_data(src_tensorlist->own_data()); in MoveTensorListInputData()407 dst_tensor->set_own_data(src_tensor->own_data()); in MoveTensorListInputData()
90 auto origin_own_data = tensor->own_data(); in CastConstTensorData()166 if (!tensor->IsConst() || tensor->own_data()) { in CopyConstTensorData()769 restore_tensor->set_own_data(tensor->own_data()); in CastAndRestoreConstTensorData()849 origin_tensor->set_own_data(restored_tensor->own_data()); in RestoreTensorData()
820 if (tensor->IsConst() && !tensor->own_data()) { in ~LiteSession()
74 if (queue->samples[0].own_data) in sample_queue_pop()87 if (queue->samples[i].own_data) in sample_queue_free()118 queue->samples[queue->len].own_data = 0; in sample_queue_push()130 if (!sample->own_data) { in sample_queue_retain()141 sample->own_data = 1; in sample_queue_retain()
67 int own_data; member
103 own_data (false), in image_t()110 own_data (true), in image_t()114 { if (own_data) free (data); } in ~image_t()150 bool own_data; member
100 own_data (false), in image_t()107 own_data (true), in image_t()111 { if (own_data) free (data); } in ~image_t()147 bool own_data; member
255 void set_own_data(bool own_data) { own_data_ = own_data; } in set_own_data() argument
126 dst_tensor->set_own_data(src_tensor->own_data()); in MoveTensorListData()
89 out_tensor->set_own_data(in_tensor->own_data()); in Run()
149 out_tensor->set_own_data(in_tensor->own_data()); in Run()
157 restore_tensor->set_own_data(tensor->own_data()); in CastTensor()
300 bool own_data = restored_tensor->own_data(); in RestoreTensorData() local308 origin_tensor->set_own_data(own_data); in RestoreTensorData()