forked from mindspore-Ecosystem/mindspore
!46182 [lite]Complete initialization for tensor to avoid unexpected problems
Merge pull request !46182 from 徐安越/r1.8_1
This commit is contained in:
commit
331b35fabc
|
@ -253,7 +253,7 @@ class Tensor {
|
|||
protected:
|
||||
TensorC tensor_c_;
|
||||
std::string tensor_name_;
|
||||
Category category_;
|
||||
Category category_{CONST_TENSOR};
|
||||
std::atomic_int ref_count_ = {0};
|
||||
int init_ref_count_ = 0;
|
||||
std::vector<LiteQuantParam> quant_params_;
|
||||
|
|
Loading…
Reference in New Issue