Commit Graph

62 Commits

Author SHA1 Message Date
Wei Luning cdbd16de0c fix bug in parameter set & fix code style in pynative_executa.cc 2020-09-21 11:32:39 +08:00
mindspore-ci-bot 3aa07a4362 !6320 change mix_precision to c++
Merge pull request !6320 from vlne-v1/pynative_amp
2020-09-19 21:29:34 +08:00
kpy 44c01e27c0 do mixprecision in c++ for pynative 2020-09-19 10:38:09 +08:00
mindspore-ci-bot a79943ca98 !6425 Fix codedex issue for tensor_py
Merge pull request !6425 from hewei/fix_codedex_0917
2020-09-19 09:28:28 +08:00
mindspore-ci-bot 63f0fb070f !6284 Fix static check
Merge pull request !6284 from BowenK/master
2020-09-17 21:13:09 +08:00
He Wei 3ad1acf04c Fix codedex issue for tensor_py 2020-09-17 18:30:15 +08:00
BowenK 607ea81c7b fix static check 2020-09-17 16:22:39 +08:00
lilei 6215e30086 clear up codedex of C++ 2020-09-17 16:19:47 +08:00
lilei f2b9ac3d6a clear up codedex of C++ 2020-09-16 14:37:03 +08:00
mindspore-ci-bot fda52b50df !6028 Fix codedex issues in tensor_py.cc
Merge pull request !6028 from hewei/fix_codedex_0911
2020-09-11 14:59:45 +08:00
He Wei 5ddc6266b2 Fix codedex issue in tensor_py.cc 2020-09-11 10:44:28 +08:00
zhousiyi ab74dfc839 refact backend/session from python 2020-09-11 01:13:00 +00:00
Wei Luning 249382899b fix bug in cell pickle and copy 2020-09-09 15:33:56 +08:00
fary86 b0f89685b4 Add device specific config check 2020-09-08 17:38:55 +08:00
mindspore-ci-bot b40677002f !5714 [refine]change top graph and add cell class
Merge pull request !5714 from vlne-v1/change-top-graph
2020-09-08 11:56:36 +08:00
Wei Luning e6f82af849 add cell class to c++ 2020-09-07 21:06:07 +08:00
fary86 d2d8a911ff Fix bug of convert python object 2020-09-04 14:56:24 +08:00
mindspore-ci-bot 7a636939eb !5651 Modify interface for normal_normal function
Merge pull request !5651 from lilei/normal
2020-09-03 14:42:58 +08:00
Wei Luning 879a519136 updata signature 2020-09-02 17:29:29 +08:00
lilei 1a0047c9b7 Modify interface for normal_normal function 2020-09-02 11:04:59 +08:00
mindspore-ci-bot be3d79cb6b !4204 add dynamic shape support for GatherV2 and others
Merge pull request !4204 from fary86/adapt_primitive_dynamic_shape
2020-09-02 09:31:14 +08:00
buxue 359e1f236e check user define bprop when there is parameter in nested network 2020-09-01 21:24:27 +08:00
mindspore-ci-bot 59b1358641 !5616 Fix problems in Tensor.from_numpy()
Merge pull request !5616 from hewei/fix_tensor_from_numpy2
2020-09-01 19:59:01 +08:00
fary86 144a35b17e Adapt GatherV2 for dynamic shape 2020-09-01 19:24:21 +08:00
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.
2020-09-01 11:35:30 +08:00
fary86 0a858b3878 Simplify ms_context implementation 2020-09-01 09:40:48 +08:00
fary86 fcbb3e0edc Refactor ms_context implementation 2020-08-30 22:51:40 +08:00
mindspore-ci-bot d81b30e6a0 !5312 make backend/optimizer free of pybind
Merge pull request !5312 from xychow/remove-backend-py-dependency-2
2020-08-29 14:42:33 +08:00
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
2020-08-28 18:15:29 +08:00
zhousiyi c25e37e7bf make backend/optimizer pybind free 2020-08-28 08:56:58 +00:00
buxue 6af286b3e5 fix bug the const input is broadened in PyNative mode 2020-08-28 16:50:29 +08:00
He Wei d7cdda1cb0 Provide Tensor.from_numpy() to avoid copy 2020-08-28 11:03:14 +08:00
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
2020-08-27 14:59:54 +08:00
mindspore-ci-bot b346f0b3ec !5026 Fix the problem of resource clear
Merge pull request !5026 from Simson/enhancement-API
2020-08-27 11:19:02 +08:00
simson d4babf190c fix risk of memory leak 2020-08-27 10:54:06 +08:00
He Wei a1439267cf Revert "Avoid copy when create Tensor from numpy array"
This reverts commit 89837bcdfd.
2020-08-26 20:33:17 +08:00
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
2020-08-26 15:45:48 +08:00
Wei Luning 24a10225cf change base class of ref to tensor in cpp 2020-08-26 12:41:25 +08:00
He Wei 89837bcdfd Avoid copy when create Tensor from numpy array 2020-08-25 14:32:27 +08:00
liubuyu e81f7f332c fix too many warning info print 2020-08-24 17:55:06 +08:00
mindspore-ci-bot b2a5440548 !4883 Fix compilation warnings
Merge pull request !4883 from zhoufeng/xiu-ba-ge
2020-08-21 12:33:20 +08:00
zhoufeng 22ec976ef7 fix compilation warnings
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2020-08-21 09:44:04 +08:00
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
2020-08-20 09:34:07 +00:00
buxue 855d6b8fed add check for user define bprop in Pynative mode. 2020-08-19 19:14:02 +08:00
zhoufeng 663278112f optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2020-08-18 14:33:24 +08:00
Wei Luning c1c30a44f1 rename param_value -> param_info 2020-08-18 11:16:28 +08:00
simson 7cc48a9af8 Third round of enhancement of API comment & README_CN 2020-08-14 14:14:26 +08:00
liubuyu 45b6600001 mv cc file that end with py to pybind 2020-08-12 14:50:18 +08:00
liubuyu f4bc0bc9fe move the dependency of utils to core 2020-07-27 10:28:46 +08:00
fary86 af22653b60 Fix bug of ConvertData in data_converter.cc 2020-07-25 01:23:14 +08:00