minqiyang
d17bb4e600
Add unit test for gru unit
...
test=develop
6 years ago
baojun
72061b0ac0
Add ngraph op coverage ( #15721 )
6 years ago
Wu Yi
856f0da0fe
Fp16 training ( #14992 )
...
* wip
* wip
* wip
* wip for test
* add fp16 tests test=develop
* fix cpu build test=develop
* fix test=develop
* fix py3 tests test=develop
* fix lr_scheduler dtype test=develop
* fix test=dvelop
* test fix ci compile test=develop
* fix build and merge test=develop
* fallback momentumop change to general test=develop
* make fp16 lr schedule simple test=develop
* fix ut test=develop
* fix tests test=develop
* remove fp16 learning rate cast test=develop
6 years ago
typhoonzero
da87f7a698
Revert "[Feature] Fp16 training for resnet50 ( #14850 )"
...
This reverts commit 3d750f9c5a
.
6 years ago
Wu Yi
3d750f9c5a
[Feature] Fp16 training for resnet50 ( #14850 )
...
* wip
* wip
* wip
* wip for test
* add fp16 tests test=develop
* fix cpu build test=develop
* fix test=develop
* fix py3 tests test=develop
* fix lr_scheduler dtype test=develop
* fix test=dvelop
* test fix ci compile test=develop
* fix build and merge test=develop
* fallback momentumop change to general test=develop
6 years ago
phlrain
1d63b06bd7
add grad test unit; test=develop
6 years ago
phlrain
b65722d3cf
fix uni test; test=develop
6 years ago
Dun
ae7d22862b
Group Norm ( #13843 )
...
Add group normalization operator.
6 years ago
Michal Gallus
99e3e36a57
MKLDNN elementwise_mul: Disable UT for CUDA
...
test=develop
6 years ago
chengduo
a9b5d42dd4
Add fp16 backward support ( #14202 )
...
* add fp16 backward support
test=develop
* add sum_op fp16 test
* disable test_dist_save_load
test=develop
* add check_grad for sum
* add unit test for softmax_grad fp16
test=develop
* add scale_op unit test
* add mul_grad_op unit test for fp16
* add cross_entropy_grad and eman_grad unit test for fp16
test=develop
* fix cross_entropy unit test
* add pool2d fp16 unit test
* refine conv2d fp16 unit test
test=develop
* refine activation unit test
test=develop
* fix ci
test=develop
* follow zhihong's comment, copy from https://github.com/PaddlePaddle/Paddle/pull/12796
test=develop
6 years ago
Yu Yang
6d2c6f96f1
Revert "Revert "Merge pull request #13431 from chengduoZH/refine_lod""
...
This reverts commit a6c8d6b9a2
.
7 years ago
Yu Yang
a6c8d6b9a2
Revert "Merge pull request #13431 from chengduoZH/refine_lod"
...
This reverts commit bd79e04667
, reversing
changes made to 6b4d290c18
.
7 years ago
chengduo
d402234ba8
Feature/op_fuse_pass ( #12440 )
...
* Add Preface
* Add demo code
* Save file
* Refine code
* seems can work
* use elementwise strategy
* Use ElementwiseComputeEx
* Add comments
* extract functions from operator
* Refine code
* Follow comment
* code refine
* add op_fuse pass
* add backward
* code refine
* use TopologySortOperations
* follow comments
* refine IsFusible
* code enhance
* fix op_fusion_pass
* refine code
* refine fuse_elemwise_act_op
* adjust the input and output
* refine logic
* add intermediate_edge
* disable inplace
* follow comments
* refine logic
* follow comments
* Remove the removable IntermediateOut
* change strategy
* code refine
* enable fuse backward
* code refine
* code refine
* rename unit test
* follow comments
7 years ago
Yu Yang
e39899da16
Fix bug in test_detection_map_op
7 years ago
chengduo
886852557f
Refine reshape_grad and transpose_grad ( #13074 )
...
* Add intermediate
* fix flatten/squeeze/unsqueeze
* Considering compatibility issues, we could not fix the origin op
* follow comment
* reset the shape of XShape
7 years ago
Qiao Longfei
6e03f7900f
Add centered mode rmsprop ( #13161 )
...
* rmsprop optimizer support v1 mode
* typo
* optimize code
* refine code
* optimize unit test
* update test_rmsprop_op.py
* update formula of rmsprop
* optimize document
* update API.spec for RMSPropOptimizer
* add default value to check_output_with_place equal_nan
7 years ago
chengduo
3bd1d22a7d
Enhance fused_elementwise_activation_op ( #12837 )
...
* Enhance the function of fused_elementwise_activation_op
* enhance unit test
* Clean Code And Add Doc
* Add compound functors
* Fix doc and enhance unit test
* define Dx and Dy for d_binary_func
* add mul_scale
* add mul_scale
* add elementwise_mul
* code refine
* code refine
* add doc
* add AsIntermediate
7 years ago
chengduo
7748963479
refine op_test ( #12846 )
7 years ago
minqiyang
99d3f08920
Add print_function for all python files
7 years ago
minqiyang
1f86c88f4a
Remove random order of fetch_list in test_random_crop_op
7 years ago
minqiyang
76ee482e18
Fix cv2 issues
7 years ago
minqiyang
6abe819f07
Fix pybind11 problem
...
Fix str and bytes problem
Fix sorted problem
Fix math problem
Fix CI problem
7 years ago
minqiyang
a58dd3e557
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into port_python3_syntax
7 years ago
dzhwinter
0c8fde7dce
"cherry picked cpp tests" ( #12182 )
...
* "cherry picked cpp tests"
* "cherry picked"
* "cherry picked tests"
* "merge develop branch"
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
Wu Yi
9f0d9dffe6
hide variable API ( #12307 )
...
* hide variable API
* edit API.spec
7 years ago
yuyang18
b83ffda4aa
Try hide APIs
7 years ago
Kexin Zhao
417fcf4f43
Modify Pybind LoDTensor API according to length-based LoD ( #11106 )
...
* add lod_tensor util and modify pybind
* refind pybind LoDTensor API and modify LoDTensor and DataFeeder test
* fix test error
* fix detection map op test
* fix reorder_lod_tensor test
* fix seq_concat_op
* fix chunk evel op test
* fix target assign op
* fix warp ctc op
* address comments step 1: reverse reset_lod op
* step 2: modify op test
* add warning message
* remove has_valid_lod
* add back has_valid_lod
* address comments
* add exception catching trial
7 years ago
dzhwinter
f7c96f079b
Big data op_test benchmark, for checking output consistent in different runs. ( #10646 )
...
* "init benchmark ops"
* "untrack outputs"
* "delete some usused code"
* "benchmark"
* "fix ci"
* "fix op test"
* "fix uint16 missing"
* "fix ci"
* "follow comments"
* "fix ci"
* "follow comments"
* "conficts. merge develop branch"
* repick
* "merge develop branch"
7 years ago
whs
376c948e88
Polygon box transform op for OCR East detection. ( #10802 )
...
* Add quad transform.
* Fix some syntax error.
* Fix CUDA kernel launch configure.
* Generalize geometry channels.
* Rename QuadTransform to PolygonRestore.
* Rename op.
* Rename op and fix computation.
* Modify CMakeLists.txt for box_restore op.
* Refine code:
1. rename op
2. uncomment unitest on GPU
7 years ago
yuyang18
40da8c00b6
Add missing attr
7 years ago
caoying03
c87d11a716
Merge branch 'develop' into enhance_reshape
7 years ago
Kexin Zhao
bfbc25bdb8
add fp16 pool2d support
7 years ago
Kexin Zhao
e967d19b0a
add more tests
7 years ago
Kexin Zhao
e4de5dc347
add conv2d fp16 support
7 years ago
ying
d3d16f76f5
enhance reshape operator.
7 years ago
Luo Tao
bde090a975
replace paddle.v2.fluid by paddle.fluid in tests
7 years ago
Luo Tao
b11956a0b5
move Fluid API code out of V2 API code
7 years ago