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
zhengyuanhua
eaee12d52a
debug precision
4 years ago
zhengyuanhua
91af6aa6b6
adapter OCR model
4 years ago
l00591931
2fc470c2cb
Enable mindir of ref
4 years ago
i-robot
46f4c8058f
!25828 声纹模型适配修改
Merge pull request !25828 from zhengyuanhua/br1
4 years ago
zhengyuanhua
c2b6238eaa
code review
4 years ago
changzherui
981956ba5e
add comment clean code for ma
4 years ago
i-robot
027adf9fff
!25692 310 support ocr model
Merge pull request !25692 from zhengyuanhua/model_br1
4 years ago
zhengyuanhua
891591444e
support ocr model
4 years ago
i-robot
0c93832a50
!25152 support export mindir parameter larger than 2G
Merge pull request !25152 from lianliguang/mindir_load_2G
4 years ago
lanzhineng
6bcc9cf9bd
optimize duplicate value node
4 years ago
lianliguang
a74c0a3319
support mindir export paramter larger than 2G in python
4 years ago
i-robot
357cd31bbf
!25290 ge pipeline pass opt_control infer shape and dtype correctly
Merge pull request !25290 from chenmai1102/cm_master
4 years ago
陈劢
4dc1be367a
ge pipeline pass opt_control infer shape and dtype correctly
4 years ago
liuyang_655
642e59e0a9
codecheck clean for master
4 years ago
i-robot
a1dfcbbc90
!25011 support multiscal net
Merge pull request !25011 from zhengyuanhua/model_br1
4 years ago
zhengyuanhua
5103173124
support multiscal net
4 years ago
l00591931
56e7d4ac76
Fix warning on master
4 years ago
liutongtong
f62f177cee
pclint clear
4 years ago
yanghaoran
37bf2f3be1
upgrade Ascend software package 12 Oct 21
4 years ago
i-robot
e9def18473
!24667 code adapter modify
Merge pull request !24667 from zhengyuanhua/master
4 years ago
i-robot
e920a1c07e
!24593 Continue execution when saving and loading mindir failed
Merge pull request !24593 from YuJianfeng/master
4 years ago
zhengyuanhua
8b9e91f294
issue fixed
4 years ago
yujianfeng
d384db6c01
Continue execution when saving and loading mindir failed
4 years ago
liutongtong
cc0c57d8ba
pclint clean
4 years ago
i-robot
e4b6008d1e
!24084 support yolo network
Merge pull request !24084 from zhengyuanhua/br1
4 years ago
zhengyuanhua
2927f513f8
network modify
4 years ago
i-robot
46fc24b172
!24083 refactor acl vm && acl vm ignore monad input/output
Merge pull request !24083 from zhoufeng/xiu-ba-ge-2
4 years ago