i-robot
3a4744ff27
!28995 unify infer and train compile binary
Merge pull request !28995 from xiaoyao/master
4 years ago
i-robot
7fcfa71a12
!28838 rename macro ENABLE_LITE_Ascend to ENABLE_LITE_ACL
Merge pull request !28838 from zhengyuanhua/code_review
4 years ago
xiao_yao1994
54fc038f0a
unify infer and train compile binary
4 years ago
xiao_yao1994
0d75261734
fix bug: can not acquire mscontext in lite310
4 years ago
zhengyuanhua
a25f293027
rename macro ENABLE_LITE_Ascend to ENABLE_LITE_ACL
4 years ago
xiao_yao1994
0843910260
unify ge and vm backend
4 years ago
zhengyuanhua
4109450399
bugfix: remove converter param device
4 years ago
i-robot
77e791113a
!28620 code check clean
Merge pull request !28620 from liuyang/ms_code_check
4 years ago
liuyang_655
3eff2fe8e0
code check clean
4 years ago
changzherui
d86f595b3f
modify comment and clean code
4 years ago
i-robot
41835f6225
!28413 supported complex type for mindir
Merge pull request !28413 from lianliguang/master
4 years ago
lianliguang
eab196b2f1
mindir supported complex type
4 years ago
zhangzhaoju
b6e6ac94f5
Add a memory recylce api for mindspore
4 years ago
i-robot
1c1759279f
!28280 modify export air and ckpt file authority
Merge pull request !28280 from changzherui/mod_export_air
4 years ago
changzherui
06ec804b09
modify export air and ckpt file authority
4 years ago
i-robot
d1c4edb935
!28198 Fix ONNX Export Bug And Error Information
Merge pull request !28198 from liuyang/ms_onnx
4 years ago
liuyang_655
e6c2cf7b73
modify onnx export
4 years ago
lianliguang
17d7ce0111
fix cummin ops name error
4 years ago
i-robot
5f35cd0daa
!27737 refractor mindir get abstract
Merge pull request !27737 from lianliguang/fix-mindir-abstract-bug
4 years ago
lianliguang
281284d1b9
refactor get abstract for mindir export and load
4 years ago
i-robot
2a28572b70
!28036 Fix onnx export
Merge pull request !28036 from liuyang/ms_onnx
4 years ago
i-robot
f4a01b0283
!27965 fix the adapter of DynamicGRUV2 and the max dimension of input logits of BCEWithLogitsLoss
Merge pull request !27965 from wangshuide/wsd_master
4 years ago
wangshuide2020
6617144fca
fix the adapter of DynamicGRUV2 and the max dimension of input logits of BCEWithLogitsLoss
4 years ago
wangrao124
c103cc65a5
export csrtensor mindir
4 years ago
liuyang_655
1ff468489c
modify onnx export
4 years ago
He Wei
bd33180a75
Fix a magic number issue in onnx_exporter.cc
4 years ago
gaozeyang
9ce5afb8df
add HSigmoid to ascend310
4 years ago
He Wei
4f04757e16
Fix some typo issues
1. Sequeue --> Sequence
2. Interger --> Integer
4 years ago
i-robot
c0048bb117
!26953 Add some bprop mindir files
Merge pull request !26953 from YuJianfeng/bprop_mindir
4 years ago
l00591931
62e474aaf1
Enable mindir for layout
4 years ago
yujianfeng
7c808ee792
Add some bprop mindir files
4 years ago
l00591931
16fbb6720a
Save graph attribute for mindir
4 years ago
wangshuide2020
9a057fce14
add adapter of HSwish and HSwishGrad for graphengine.
4 years ago
i-robot
3d0f9d8aae
!26683 Enable compile cache feature to load hyper parameter data from python
Merge pull request !26683 from LiangZhibo/mindir
4 years ago
l00591931
21df240f23
Enable mindir to load initialize weight from python
4 years ago
He Wei
41dcac9c49
Replace std::unordered_map/set with robin-hood-hashing
Robin-hood-hashing (https://github.com/martinus/robin-hood-hashing )
is considered faster then std::unordered_map/set,
so we use it to improve mindspore performance.
1. robin_hood head file in `third_party/robin_hood/include`;
2. In `utils/hash_map.h` and `utils/hash_set.h`, we define:
- mindspore::HashMap as an alias of robin_hood::unordered_map;
- mindspore::HashSet as an alias of robin_hood::unordered_set;
3. Replace:
- `#include <unordered_map>` --> `#include "utils/hash_map.h"`;
- `#include <unordered_set>` --> `#include "utils/hash_set.h"`;
- `std::unordered_map` --> `mindspore::HashMap`;
- `std::unordered_set` --> `mindspore::HashSet`;
- `map.insert(std::pair(key, value))` --> `map.emplace(key, value)`;
- `[] (const std::pair<K, V> &p) {..} ` --> `[] (const auto &p) {..} `;
4. Fix issues found by switch to robin_hood:
- AnfNodeConfig hash and equal;
- Fix a bug in `Slice::operator==()`;
- Fix a bug in `CNode::HasPrimalAttr()`;
- Fix map.erase() usage bugs: `map.erase(iter++)` --> `iter = map.erase(iter)`;
- Fix some iterator invalidated problem;
5. Some std::unordered_map/set can not replace by robin_hood:
- As parameter of functions that exposed to python by pybind11;
- Use bad hash that cause robin_hood::map over_flow, such as AbstractBasePtrListHasher;
6. Update cpp unit tests;
7. Add build option '-F' to enable robin_hood, default on.
4 years ago
l00591931
837c668f85
fix mindir export attribute problem
4 years ago
i-robot
7efd503d30
!26436 export null ref_key_value error.
Merge pull request !26436 from lanzhineng/mindir
4 years ago
i-robot
0e6264e036
!26303 adjust div op and parameter format for ocr precision
Merge pull request !26303 from zhengyuanhua/model_br1
4 years ago
lanzhineng
528c55070c
export null ref_key_value
4 years ago
i-robot
aac1291062
!26297 compiler support dump flag
Merge pull request !26297 from huanghui/cell-dump
4 years ago
zhengyuanhua
742e6b61b4
st div op and parameter format for ocr precision
4 years ago
i-robot
53b736c591
!26274 C3d bug fix
Merge pull request !26274 from 张晓晓/master
4 years ago
huanghui
35cb09a536
compiler support dump flag
4 years ago
i-robot
50f4f96c77
!26217 Ge Adapter BatchMaMul
Merge pull request !26217 from weiyang/ge_adpator_batchmatmul
4 years ago
zhangxiaoxiao
f51febfcef
c3d bug fix
modified: ccsrc/transform/graph_ir/io_format_map.cc
4 years ago
l00591931
2e1319005b
Fix mindir export and import problem
4 years ago
i-robot
9916e5844d
!26170 Fix cyclomatic complexity
Merge pull request !26170 from hewei/fix_ccn
4 years ago
yangwei
dad3494651
ge_adaptor batchmatmul
4 years ago
He Wei
c7910cbd37
Fix cyclomatic complexity
4 years ago