mindspore-ci-bot
ea9d39e84b
!6734 fix bug of getting python function name
Merge pull request !6734 from fary86/fix_bug_of_get_py_function_name
5 years ago
fary86
3f5640f18a
Fix bug of getting name of a function
5 years ago
root
4e85071055
redundant codes clean
5 years ago
buxue
483c8a179a
improve the recognition of Parameter object and raise error when convert keywordarg to pydata
5 years ago
buxue
a86e4ac370
print warning log when parse attributes not defined of the object
5 years ago
buxue
14f6c95c28
add overflow check for make_range and optimize isinstance processing
5 years ago
buxue
458498900c
support not in and add check for grad_with_sens with no sense provide.
5 years ago
buxue
b9c9046b93
support function as condition of if
5 years ago
mindspore-ci-bot
b40677002f
!5714 [refine]change top graph and add cell class
Merge pull request !5714 from vlne-v1/change-top-graph
5 years ago
Wei Luning
e6f82af849
add cell class to c++
5 years ago
buxue
6fa60f6666
raise ValueError when call hook function in graph mode
5 years ago
buxue
6af286b3e5
fix bug the const input is broadened in PyNative mode
5 years ago
fary86
38083e055a
Fix coredump missing return statement after while loop
5 years ago
buxue
09f1a4bbaf
support axis is None for all and any interface in graph mode.
5 years ago
buxue
02d6e3a43a
fix bugs
5 years ago
panyifeng
34e50e5d6e
fix cell bprop
5 years ago
buxue
ace34525cd
improve interface '__bool__' for tensor
5 years ago
buxue
2c4cb49a11
support interface 'all' and 'any' of tensor
5 years ago
mindspore-ci-bot
a182a87a6d
!3820 support tensor attr shape and dtype in graph mode
Merge pull request !3820 from zhangbuxue/support_dtype_and_shape_as_attr_in_graph_mode
5 years ago
buxue
b075674cf2
support tensor attr shape and dtype in graph mode
5 years ago
Wei Luning
a05c38bb63
make python Parameter inherit from Tensor
5 years ago
buxue
8feb021c08
support bprop for const in pynative and develop stridedslice and isinstance.
5 years ago
buxue
b812c1a17a
support call super when class define in test_case.
5 years ago
mindspore-ci-bot
684ff4f46b
!3160 Rewrite tensor's __bool__ for pynative mode
Merge pull request !3160 from Simson/push-to-opensource
5 years ago
simson
5f77fbdd75
Rewrite tensor's __bool__ for pynative mode
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
panyifeng
5a10383cc3
add coo_tensor
5 years ago
buxue
60b0ded440
change ValueError to TypeError for enumerate start
5 years ago
buxue
cf797d3bf2
add arg check for enumerate
5 years ago
mindspore-ci-bot
dab7ad44ab
!2901 Optimization for parser
Merge pull request !2901 from Kang/master
5 years ago
wuyongkang
6618a42bf1
Optimization for parser
5 years ago
buxue
cfa41733d6
support Python built-in function 'enumerate'
5 years ago
mindspore-ci-bot
db94c5fb0f
!2786 Optimization for ast_cache
Merge pull request !2786 from Kang/optimization
5 years ago
wuyongkang
f797d17a6e
Optimization for ast_cache
5 years ago
mindspore-ci-bot
bd3f3b51e4
!2722 Optimize parser
Merge pull request !2722 from Kang/optimization
5 years ago
wuyongkang
274bd25386
Optimize parser
5 years ago
panyifeng
d6635bbbe2
Add IndexedSlices
5 years ago
huangdongrun
9d3c9c69fe
modify map to C.Map()
5 years ago
huangdongrun
9522f59b87
support for tensor indexing in pynative
support tensor slice using constexpr
remove tensorslice metagraph
add pynative testcases
5 years ago
huangdongrun
beacc26077
* add isconstant primitive
* add infer_value for common math ops
* convert constant bool tensor to bool value
* do not infer value when encounter 0 as division
for while condition, do not unrool if condition is a tensor
5 years ago
rick_sanchez
e2a322b6b7
Modify code to support dynamic graph.
5 years ago
buxue
7ae289a197
Support mixed tensor for tensor getitem or setitem.
5 years ago
kingfo
840922e501
add backward hook function in pynative mode
5 years ago
candanzg
e886a3182c
tensor assign with ellpsis
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
candanzg
663d597330
tensor assign with slice index
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
7c233a57fa
support python func print and != for list with none
5 years ago
candanzg
3f087dba1a
Tensor assign syntax:
1) A[B]=U
2) A[A>n]=U
A.shape == B.shape
U is a scalar or Tensor(size==1)
B is Tensor(dtype=bool)
n is a Number
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
80978cf3cc
support operator ** // % for scalar and tensor, and in not in for dict, ang str concat
6 years ago
huangdongrun
461d8e3a08
add comparison ops
fix pylint
use scalar_lt primitive directly
fix review
6 years ago