Commit Graph

10 Commits

Author SHA1 Message Date
zjun 07d0544095 Add set data for tensor
Signed-off-by: zjun <zhangjun0@huawei.com>
2022-05-24 20:20:19 +08:00
He Wei 6313bc0cab Support user data in Tensor 2022-05-18 17:26:52 +08:00
Yi Huaijie d7faa77b5e support int64 shape 2020-11-05 21:15:49 +08:00
liubuyu 45b6600001 mv cc file that end with py to pybind 2020-08-12 14:50:18 +08:00
He Wei d310891eca Fix a bug in Tensor::equals()
1. Check if data_ is null before compare it;
2. Always allocate an array for data_ even if size is zero.
2020-08-06 21:06:27 +08:00
liubuyu f4bc0bc9fe move the dependency of utils to core 2020-07-27 10:28:46 +08:00
He Wei 43e0967024 Decouple ir::Tensor class from python 2020-06-24 10:28:59 +08:00
leopz 4508134ceb add tensor_minnie and separate py from ir 2020-05-28 14:26:26 +08:00
leopz 40e15996b0 move default_param out of parameter and remove pybind11 in anf define 2020-05-19 19:11:12 +08:00
zhunaipan 930a1fb0a8 initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00