lilei
1a0047c9b7
Modify interface for normal_normal function
5 years ago
mindspore-ci-bot
be3d79cb6b
!4204 add dynamic shape support for GatherV2 and others
Merge pull request !4204 from fary86/adapt_primitive_dynamic_shape
5 years ago
buxue
359e1f236e
check user define bprop when there is parameter in nested network
5 years ago
mindspore-ci-bot
59b1358641
!5616 Fix problems in Tensor.from_numpy()
Merge pull request !5616 from hewei/fix_tensor_from_numpy2
5 years ago
fary86
144a35b17e
Adapt GatherV2 for dynamic shape
5 years ago
He Wei
cbfd4c5f40
Fix problems in Tensor.from_numpy()
Use buffer_info instead of py::array in TensorDataNumpy,
to avoid requesting buffer every time the data() is called.
This is also a workaround for py::array.request() hangup problem.
5 years ago
fary86
0a858b3878
Simplify ms_context implementation
5 years ago
fary86
fcbb3e0edc
Refactor ms_context implementation
5 years ago
mindspore-ci-bot
d81b30e6a0
!5312 make backend/optimizer free of pybind
Merge pull request !5312 from xychow/remove-backend-py-dependency-2
5 years ago
mindspore-ci-bot
9d8fb786cb
!5373 fix bug the const input is broadened in PyNative mode
Merge pull request !5373 from zhangbuxue/fix_bug_the_const_input_is_broadened_in_PyNative_mode
5 years ago
zhousiyi
c25e37e7bf
make backend/optimizer pybind free
5 years ago
buxue
6af286b3e5
fix bug the const input is broadened in PyNative mode
5 years ago
He Wei
d7cdda1cb0
Provide Tensor.from_numpy() to avoid copy
5 years ago
mindspore-ci-bot
d5005bc8b9
!5280 Revert "Avoid copy when create Tensor from numpy array"
Merge pull request !5280 from hewei/master_revert_no_copy_tensor
5 years ago
mindspore-ci-bot
b346f0b3ec
!5026 Fix the problem of resource clear
Merge pull request !5026 from Simson/enhancement-API
5 years ago
simson
d4babf190c
fix risk of memory leak
5 years ago
He Wei
a1439267cf
Revert "Avoid copy when create Tensor from numpy array"
This reverts commit 89837bcdfd .
5 years ago
mindspore-ci-bot
95212b55a0
!3271 make reftype a subtype of MetaTensor and try to mark ref in node input
Merge pull request !3271 from vlne-v1/ref_demo
5 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
5 years ago
He Wei
89837bcdfd
Avoid copy when create Tensor from numpy array
5 years ago
liubuyu
e81f7f332c
fix too many warning info print
5 years ago
mindspore-ci-bot
b2a5440548
!4883 Fix compilation warnings
Merge pull request !4883 from zhoufeng/xiu-ba-ge
5 years ago
zhoufeng
22ec976ef7
fix compilation warnings
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
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
5 years ago
buxue
855d6b8fed
add check for user define bprop in Pynative mode.
5 years ago
zhoufeng
663278112f
optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
Wei Luning
c1c30a44f1
rename param_value -> param_info
5 years ago
simson
7cc48a9af8
Third round of enhancement of API comment & README_CN
5 years ago
liubuyu
45b6600001
mv cc file that end with py to pybind
5 years ago
liubuyu
f4bc0bc9fe
move the dependency of utils to core
5 years ago
fary86
af22653b60
Fix bug of ConvertData in data_converter.cc
5 years ago
mindspore-ci-bot
8da91ca3cf
!3237 support call the parent class function
Merge pull request !3237 from zhangbuxue/support_call_the_parent_class_construct_function
5 years ago
buxue
073507a5e0
support call the parent class function
5 years ago
mindspore-ci-bot
ffb7040c3c
!3200 [clean]remove loop_can_unroll flag, clean some other python code
Merge pull request !3200 from vlne-v1/remove_loop_can_unroll
5 years ago
Wei Luning
f362503d57
support throw attribute error from c++
5 years ago
Wei Luning
88e864a4a3
remove loop can unroll flag, clean some python usage
5 years ago
Wei Luning
ef13a4b6fb
adjust cse code when op has side effect.
5 years ago
seatea
981b013f81
Fix CSE bug for some operations like `DropoutGenMask` which should not
be optimized as it will generate different values each time.
6 years ago
candanzg
2cc85bdc93
Support weight compile according to shape
Signed-off-by: candanzg <zhangshucheng@huawei.com>
6 years ago
fary86
3f323e48e2
Add submodule id for log interface
6 years ago
zhoufeng
b681cec8f2
cmake refactor
6 years ago
zhoufeng
c2b3360d69
update clang format rule
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago