Commit Graph

27 Commits (e1c8d6bce5fbbe1f106500f0bd5ec3ccd09ed864)

Author SHA1 Message Date
Leo Chen 7fcb32ddf3
fill_constant op supports NINF (#28270)
5 years ago
Leo Chen a911c19eb0
fill_constant op supports NaN and Inf (#28109)
5 years ago
AshburnLee d843706230
add shape check for fill_constant OP and remove doc of type error (#26919)
5 years ago
wangchaochaohu ba574c8ec3
refine the usage of numpy element fetch for Ops test=develop (#26194)
5 years ago
wangchaochaohu 0dc485e6fe
refine the value parameter's Tensor support of fill_constant Op test=… (#25986)
5 years ago
liym27 2a191d8fa5
fix error in convert_dtype: ValueError->TypeError and polish message (#25788)
5 years ago
wangchaochaohu 2092660c43
Ones op for API 2.0: remove the device and out parameters (#25497)
5 years ago
wangchaochaohu bdc2c2dba8
full Op:remove device, out and stop_gradient parameter for API 2.0 test=develop (#25257)
5 years ago
wawltor b822f74cd4
Add the error raise for some operators, add some test cases
5 years ago
wangchaochaohu fb34bdb40c
API/OP(fill_constant) error message enhancement (#23584)
5 years ago
wangchaochaohu 29c4fae112
Tensor value support (#23491)
5 years ago
wawltor 915341e3de
Add the zeros, ones, ones_like, zeros_like for api 2.0, test=develop (#23471)
5 years ago
wangchaochaohu e6ca512af1
refine convert type for numpy type (#22386)
5 years ago
juncaipeng f64d006622
Change several tests to inherit the right parent class, test=develop (#21652)
6 years ago
Zhang Ting 3df13ab40c
fix PythonAPI test in Op unittest, test=develop (#21455)
6 years ago
liym27 ae4ddbc821 add fill_constant input(shape) dtype check. test=develop (#20620)
6 years ago
zhupengyang 01209b5161 add input type and dtype check for cast_op (#20070)
6 years ago
liym27 fc6ec3b9f6 fill_constant support Tensor; (#20521)
6 years ago
wangchaochaohu 9a76f3f916
Fill constant error message fix (#20075)
6 years ago
123malin b414645a65
fix #17430: int64类型的attr训练非预期 (#18264)
6 years ago
tangwei12 66cc1850a8 add gpu place
7 years ago
tangwei12 fff6f595ff add unit test
7 years ago
tangwei12 8f9bbc2834 add unit test
7 years ago
minqiyang 99d3f08920 Add print_function for all python files
7 years ago
minqiyang 9fc13fde18 Remove python3 relative import of unittest
7 years ago
minqiyang 35e6abd7bb Change iter_parameters back and port unittests code to Python3
7 years ago
Luo Tao b11956a0b5 move Fluid API code out of V2 API code
7 years ago