Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/src/cxx_api/tensor/
Dtensor_impl.h43 if (lite_tensor_ == nullptr) { in ~Impl()
48 lite_tensor_->set_data(nullptr); in ~Impl()
50 delete lite_tensor_; in ~Impl() local
51 lite_tensor_ = nullptr; in ~Impl()
55 explicit Impl(tensor::MSTensor *tensor) : lite_tensor_(tensor), from_session_(true) { in Impl()
73 if (lite_tensor_ == nullptr) { in Name()
81 if (lite_tensor_ == nullptr) { in SetName()
85 lite_tensor_->set_tensor_name(name); in SetName()
90 if (lite_tensor_ == nullptr) { in DataType()
94 return static_cast<enum DataType>(lite_tensor_->data_type()); in DataType()
[all …]