Wei Luning
cdbd16de0c
fix bug in parameter set & fix code style in pynative_executa.cc
5 years ago
mindspore-ci-bot
3aa07a4362
!6320 change mix_precision to c++
Merge pull request !6320 from vlne-v1/pynative_amp
5 years ago
kpy
44c01e27c0
do mixprecision in c++ for pynative
5 years ago
mindspore-ci-bot
a79943ca98
!6425 Fix codedex issue for tensor_py
Merge pull request !6425 from hewei/fix_codedex_0917
5 years ago
He Wei
3ad1acf04c
Fix codedex issue for tensor_py
5 years ago
BowenK
607ea81c7b
fix static check
5 years ago
mindspore-ci-bot
fda52b50df
!6028 Fix codedex issues in tensor_py.cc
Merge pull request !6028 from hewei/fix_codedex_0911
5 years ago
He Wei
5ddc6266b2
Fix codedex issue in tensor_py.cc
5 years ago
zhousiyi
ab74dfc839
refact backend/session from python
5 years ago
Wei Luning
249382899b
fix bug in cell pickle and copy
5 years ago
Wei Luning
e6f82af849
add cell class to c++
5 years ago
Wei Luning
879a519136
updata signature
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
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
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