Commit Graph

40 Commits

Author SHA1 Message Date
zhouxulin2 a29ed2cd55 extend dict key data type 2022-11-04 19:07:52 +08:00
Margaret_wangrui daf0805ee8 Remove the default_value option in the MapParameter.get() interface; provide three Tensor interfaces in MapTensor. 2022-10-20 19:47:28 +08:00
Margaret_wangrui 1006878920 Make MapTensor inherit Tensor to adapt to the backend. 2022-10-18 11:48:00 +08:00
He Wei 9c03020659 Implement MapParameter default value and clone() 2022-09-29 08:50:30 +08:00
He Wei 352571d7be Add experimental API for MapParameter 2022-09-19 19:04:25 +08:00
yeyunpeng2020 57aa5ad0ba add compression tensor 2022-07-11 16:04:36 +08:00
wangrao124 1a49773032 change SparseTensorType constructor: use TypePtrList 2022-06-23 14:13:11 +08:00
yanglf1121 dba98547e3 Refactor AbstractSparseTensor 2022-06-21 09:50:53 +08:00
He Wei 2c24157ccb Add TensorData::has_sub_data() method 2022-06-13 17:31:05 +08:00
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
i-robot 8b1af5b007
!34065 Provide helper class to find flat parameter
Merge pull request !34065 from hewei/flatten_weights
2022-05-11 09:21:17 +00:00
i-robot b55fe6f3fc
!34190 Remove abstract refkey and don't change order enforce
Merge pull request !34190 from chenfei_mindspore/rm-abstract-ref-key-simple
2022-05-11 08:48:24 +00:00
chenfei 7ce82746ab rm abstract ref key 2022-05-10 20:54:21 +08:00
He Wei ac45331d2b Provide helper class to find flat parameter 2022-05-10 19:10:56 +08:00
huangbingjian 087b9f6750 Modify the printing information of type id 2022-05-06 11:31:44 +08:00
Zhang Qinghua 12826b0f6c Add core/abstract/ops directory.
Move core_ops.h.
2022-04-14 19:31:28 +08:00
zhoufeng b7bb53ff73 build libmindspore_backend.so
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2022-03-17 19:14:45 +08:00
He Wei 205b6357ed Optimize graph_utils 2021-09-27 17:38:19 +08:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
He Wei 4f92e0ca11 Refactor FuncGraphManager & FuncGraphTransaction
Make them more object-oriented, and optimize performance.
2021-09-13 13:02:30 +08:00
l00591931 cf7c5840e3 Change return 2021-03-04 09:38:43 +08:00
Zhang Qinghua 9b26c210f4 Eliminate all useless nodes related to UpdateStates. 2021-02-26 14:32:50 +08:00
mindspore-ci-bot b189f177bb Change tuple_getitem to TupleGetItem and some other ops, merge from r1.1 to master 2021-02-02 15:54:15 +08:00
Yi Huaijie d7faa77b5e support int64 shape 2020-11-05 21:15:49 +08:00
zhousiyi d0e58dd765 remove ccsrc/common.h
replace frontend/operator/ops.h in backend with base/core_ops.h as
backend should not use any frontend-only primitive
2020-08-20 09:34:07 +00: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 a499d4e47c decoupling core and debug 2020-07-31 10:39:31 +08:00
liubuyu f4bc0bc9fe move the dependency of utils to core 2020-07-27 10:28:46 +08:00
liubuyu 43c79eb853 mindspore path adjust 2020-07-14 18:07:28 +08:00
Zhang Qinghua 87715ed127 Refactoring for base and abstract types: Moving Base into base folder; Splitting the abstract type and infer&specialize routines; 2020-07-14 09:38:00 +08:00
He Wei 43e0967024 Decouple ir::Tensor class from python 2020-06-24 10:28:59 +08:00
Zhang Qinghua 923d3fee04 Refactoring the fg manager module. 2020-06-15 15:47:39 +08:00
leopz 4508134ceb add tensor_minnie and separate py from ir 2020-05-28 14:26:26 +08:00
Zhang Qinghua dbb86cb1be Adjust some routines of FG and FGM, about the nodes info. IF. 2020-05-25 10:06:27 +08:00
Zhang Qinghua f31564ce98 Remove the useless collectors in manager. 2020-05-25 09:56:28 +08:00
leopz 40e15996b0 move default_param out of parameter and remove pybind11 in anf define 2020-05-19 19:11:12 +08:00
Zhang Qinghua a22a4a57c2 Modify UT case after adjust the collectors of manager. 2020-04-29 15:36:21 +08:00
zhunaipan 930a1fb0a8 initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00