yujianfeng
18a76ff3c5
Check whether the network args are tensors in the compile phase
4 years ago
buxue
14f6c95c28
add overflow check for make_range and optimize isinstance processing
4 years ago
buxue
458498900c
support not in and add check for grad_with_sens with no sense provide.
5 years ago
buxue
4d59fe9ee1
add check for mod when y in (-1, 0)
5 years ago
buxue
4168c51f0d
add check tensor when graph output is a const or parameter
5 years ago
panyifeng
1a54785fe2
remove name arg from gradoperation
5 years ago
buxue
09f1a4bbaf
support axis is None for all and any interface in graph mode.
5 years ago
mindspore-ci-bot
5827ba9a8a
!3940 View code support interface 'all' and 'any' of tensor
...
Merge pull request !3940 from zhangbuxue/support_interface_all_and_any_of_tensor
5 years ago
buxue
2c4cb49a11
support interface 'all' and 'any' of tensor
5 years ago
zhousiyi
f926650c64
if AbstractFunction comparison succeed in NewContext, then the evaluator should use the same one, otherwise one of the evaluator will not be evaluated.
...
if funcgraph or metafuncgraph call it recursively, then anf_node should be used as tracking_id to discriminate the first occurcance and the
recursive occurance.
add anf_node to PrimitiveAbstractClosure hash() to reduce cost of GetEvaluatorFor().
ignore the tracking_id to make cse work.
5 years ago
simson
5f77fbdd75
Rewrite tensor's __bool__ for pynative mode
5 years ago
panyifeng
44e74ad5aa
Apply indexed_slices
5 years ago
kingfo
add3778a61
add grad all in pynative mode
5 years ago
zhousiyi
d5255fe311
fix assign used in while
5 years ago
buxue
66bbdb4a31
change tensor dtype and shape from function to attr
5 years ago
seatea
7398526abc
Fix pylint warning for test cases of optimizer, infer, parse and
...
pynative.
5 years ago
jinyaohui
5a914994ba
clean pylint
5 years ago
jinyaohui
bcfaff97f9
clean pylint
5 years ago
panyifeng
755ba75deb
fix pylint
5 years ago
zhousiyi
047ac018da
specialize hypermap paramater
5 years ago
zhunaipan
930a1fb0a8
initial version
...
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
5 years ago