i-robot
fce7c056c7
!25369 [feat] [assistant] [I48OBD] add dynamic shape for BesselI1e operator
Merge pull request !25369 from lyl116/BesselI1e
4 years ago
i-robot
10140d79f4
!25379 [feat] [assistant] [I48OCF] add dynamic shape for ReciprocalGrad operator
Merge pull request !25379 from 魏志清/reciprocalgrad
4 years ago
lyl116
eb5e8e7534
[feat] [assistant] [I48OBD] add dynamic shape for BesselI1e operator
4 years ago
王南
df12d5e6ad
fix info in conv brop typeerrer
4 years ago
zhi-qing-wei
e3623a25f2
[feat] [assistant] [I48OCF] add dynamic shape for ReciprocalGrad operator
4 years ago
i-robot
04132e0c50
!26766 fix error log and move some function to inner
Merge pull request !26766 from lianliguang/master
4 years ago
lianliguang
5864d6a006
modify some eroor log
4 years ago
hangangqiang
8173af67af
add fusion_inout_test
4 years ago
i-robot
d0792507bd
!26736 [MS][LITE]support parameter cache and distribution predict
Merge pull request !26736 from 张学同/distribution_cache_dev
4 years ago
i-robot
7332c935d0
!26721 optimizes the error description of Transpose and get_broadcast_shape.
Merge pull request !26721 from wangshuide/wsd_master_new
4 years ago
i-robot
a0ab39248d
!26649 move a segment ops infer function to inner
Merge pull request !26649 from lianliguang/add-functoll-api-for-primitive
4 years ago
i-robot
049d83cbb6
!25702 [assistant][ops]New operator implementation, include ApplyGradientDescent
Merge pull request !25702 from 张璇/ApplyGradientDescent
4 years ago
i-robot
eef5f3f8d4
!22925 [assistant][ops] add operator Cummin
Merge pull request !22925 from yangwm/cummin
4 years ago
zhangxuetong
9ef0fa84bb
support parameter cache and distribution predict
4 years ago
wangshuide2020
399680a711
optimizes the error description of Transpose and get_broadcast_shape.
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
luon
5485ff0cb6
[feat] [assistant] [I40GGH] add new ascend operator Cummin
4 years ago
i-robot
6e886038bb
move GetUnsortedSegmentOpScalarArg to inner
4 years ago
zx
dbff85f7d1
[feat][assistant][I48O97] Modify ApplyGradientDescent to be a dynamic shape operator
4 years ago
i-robot
45947b51ba
!26312 add grad support dynamic shape
Merge pull request !26312 from wangnan39/add_grad_support_dynamic_shape
4 years ago
王南
f082f4ccec
add grad support dynamic
4 years ago
simson
7bc45ac906
add dynamic shape for assign
4 years ago
i-robot
53c2e20cb4
!26372 Fix Transpose bug for the lack of perm.
Merge pull request !26372 from liangxhao/transpose
4 years ago
i-robot
e8b41cea53
!25507 [feat] [assistant] [I48OB8] tan infer with dynamic shape
Merge pull request !25507 from 殷逸维/tan_2
4 years ago
lianghao23
c26fa09021
Fix Transpose bug for the lack of perm.
4 years ago
i-robot
9f2e1edc00
!26279 neighborexchangev2 fix bug
Merge pull request !26279 from TuDouNi/neighborexchangev2_bug
4 years ago
ttudu
33ac1de062
fix bug
4 years ago
lianghao23
775007d755
clean code for pclint
4 years ago
i-robot
9522ee9686
!25703 [assistant][ops] Add math operator LpNorm
Merge pull request !25703 from 孟权令/LpNorm
4 years ago
i-robot
ca2076dede
!25394 [feat][assistant][I48OBZ]add dynamic shape for Invert operation
Merge pull request !25394 from zhixinaa/Invert
4 years ago
i-robot
bfc24af47d
!26124 add pad adjust to debug ocr model precision
Merge pull request !26124 from zhengyuanhua/model_br1
4 years ago
i-robot
c063fe67b9
!25325 [feat][assistant][I48OCN]add dynamic shape for AssignAdd operation
Merge pull request !25325 from zhixinaa/AssignAdd
4 years ago
zhengyuanhua
eaee12d52a
debug precision
4 years ago
i-robot
4041a68997
!24984 [assistant][ops] Add AccumulateNV2 Dynamic Shape
Merge pull request !24984 from 王喜诺/wjb
4 years ago
zhengyuanhua
91af6aa6b6
adapter OCR model
4 years ago
kman066
4ebec36ab2
add lpnorm
4 years ago
zheng_pengfei
795cde8c0b
[feat] [assistant] [I48OB8] tan with dynamic infer shape
4 years ago
ling
bbdc907673
[MSLITE] all gather
4 years ago
i-robot
a3441bbfb5
!25863 fix dynamic shape bugs
Merge pull request !25863 from fangzehua/fix_dy_1028
4 years ago
fangzehua
4433fbd1fa
fix dynamic shape
4 years ago
i-robot
ded1c77bbf
!25765 neighborExchangeV2 & grad
Merge pull request !25765 from TuDouNi/neighborExchangeV2
4 years ago
ttudu
e953c15cd2
NeighborExchangeV2 & Grad
4 years ago
zhixinaa
4bbc344d91
[feat][assistant][I48OCN]add dynamic shape for AssignAdd operation
4 years ago
wjb
f92339d8be
[feat] [assistant] [I48OAL] Add AccumulateNV2 Dynamic Shape
4 years ago
zhengyuanhua
c2b6238eaa
code review
4 years ago
i-robot
3452d6e55d
!25527 Support float64 for CPU OP, including arithmetic, reshape, scatter_nd_update, select.
Merge pull request !25527 from hezhenhao1/add_double
4 years ago
i-robot
2be5c8c2d8
!25266 [feat] [assistant] [I48OFM] Implement dynamic shape for L2Loss
Merge pull request !25266 from 彭涛/op_l2loss
4 years ago
hezhenhao1
92aee7c6fe
Support float64 for CPU OP, including arithmetic, reshape, scatter_nd_update, select. And Fix floor.cc.
4 years ago
Artlesbol
4fe0803ecf
[feat] [assistant] [I48OAE] cos infer with dynamic shape
4 years ago
simson
03c1be52ad
fix zeros core dump when only has one input
4 years ago