- 10 8月, 2022 2 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947) * automatically fix * update comments * numpy -> np * self.assertEqual(..., True) * wrong usage (err_msg=True) 这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)` 的错误用法,因此在修复后将其认为位置参数 `err_msg` * some missing fix
-
由 Aurelius84 提交于
* [OpAttr]Support VarDesc* and vector<VarDesc*> in Attribute * add unittest for inference predictor
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 29 4月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* [Eager] Remove enable_legacy_dygraph setting * Add more tests
-
- 24 4月, 2022 1 次提交
-
-
由 pangyoki 提交于
* test=py3-eager * test=py3-eager * test=py3-eager
-
- 07 4月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 04 4月, 2022 1 次提交
-
-
由 hong 提交于
* add dropout slice yaml * remove useless code * fix infer shape error * skip infrt compile for dropout
-
- 25 3月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 10 3月, 2022 1 次提交
-
-
由 hong 提交于
* move dropout to phi; test=develop * fix xpu, npu compile error; test=develop
-
- 10 2月, 2022 1 次提交
-
-
由 zhangbo9674 提交于
* add dropout * add reshape * add slice * refien slice unittest * refine slice unittest * add cpu bf16 kernel
-
- 26 11月, 2021 1 次提交
-
-
由 smallv0221 提交于
* fix dropout static when axis != None * update dropout test * add dropout test * fix test * Update test_dropout_op.py * Update test_dropout_op.py * fix testcase * fix testcase * Update test_dropout_op.py * fix testcase * fix testcase * optimize perf * add new test * fix testcase
-
- 19 10月, 2021 1 次提交
-
-
由 WangXi 提交于
-
- 28 9月, 2021 1 次提交
-
-
由 xiayanming 提交于
* [HIP] fix op not support AMD GPU bug, the flag PADDLE_WITH_ROCM is invalid * [HIP] fix op not support AMD GPU bug, the flag PADDLE_WITH_ROCM is invalid * [HIP] fix op not support AMD GPU bug * [hybrid] seed and dropout op support force-cpu * [hybrid] seed and dropout op support force-cpu * [hybrid] seed and dropout op support force-cpu * [hybrid] seed and dropout op support force-cpu * [hybrid] seed and dropout op support force-cpu * [hybrid] fix seed ci failed issue * add AsExtra for force_cpu of seed op
-
- 26 4月, 2021 1 次提交
-
-
由 xiemoyuan 提交于
* Modified params of some APIs to support tuple and list. * fixed bug.
-
- 11 12月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* add fast path for p == 0 in dropout * add ut
-
- 21 10月, 2020 1 次提交
-
-
由 cnn 提交于
* rename manual_seed to seed * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D * rename manual_seed --> seed * do not rename .cc, .cu and .h file * rename manual_seed --> seed * rename manual_seed --> seed * rename manual_seed --> seed * rename manual_seed --> seed * disable_static on doc example code * donot change manual_seed on generator * add enable_static on sample code * convert python/paddle/fluid/layers/nn.py to bak * fix typo * fix code style * fix seed to manual_seed when call functions of Generator() * fix bug
-
- 04 9月, 2020 1 次提交
-
-
由 huangjun12 提交于
-
- 02 9月, 2020 1 次提交
-
-
由 huangjun12 提交于
* fix dropout bug in backward when input is 1d tensor, test=develop * add test case and refine error message, test=develop * refine error message, test=develop
-
- 31 8月, 2020 1 次提交
-
-
由 huangjun12 提交于
rename Dropout2D/3D to Dropout2d/3d
-
- 23 8月, 2020 1 次提交
-
-
由 huangjun12 提交于
* add alpha_dropout in nn.functional and nn.layer, test=develop * refine Interface and assertion, test=develop * fix ci import error, test=develop * fix alias and use layers.scale, test=develop * fix doc and training params, test=develop * refine details in doc, test=develop * fix doc details, test=develop
-
- 22 8月, 2020 1 次提交
-
-
由 huangjun12 提交于
* [API2.0] add dropout, dropout2d and dropout3d, test=develop * refine Interface and assertion after review, test=develop * fix alias p=1 and use scale, test=develop * fix doc and training, test=develop * fix doc in Dropout2D, test=develop
-
- 20 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
-
- 17 12月, 2019 1 次提交
-
-
由 GaoWei8 提交于
-
- 12 12月, 2019 1 次提交
-
-
由 juncaipeng 提交于
* change several tests to use the right parent class, test=develop * add dtype for TestLoDTensorAndSelectedRowsOp, test=develop
-
- 10 12月, 2019 1 次提交
-
-
由 mapingshuo 提交于
* add seed op
-
- 02 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
There are PythonAPI tests in Op's unittest which don't need to inherit OpTest class.
-
- 07 10月, 2019 1 次提交
-
-
由 lvmengsi 提交于
* add error log
-
- 28 4月, 2019 1 次提交
-
-
由 Zeng Jinle 提交于
* refine_dropout_mem,test=develop * # This is a combination of 14 commits. # The first commit's message is: remove ut test_dist_word2vec in mac ci, will fix it in private, test=develop (#17066) # This is the 2nd commit message: Fleet unify distributed training (#16791) * implement distributed transpiler with fleet # This is the 3rd commit message: ParallelDyGraph with GPU collective mode (#16827) implement dygraph.parallel.DataParallel to hook reduce op. # This is the 4th commit message: Init mixed precision training interface (#16856) * Init mixed precision training interface * Add fp16 test script test=develop * All initializers support float16 test=develop * Code cleanup & add more code annotations test=develop * Update API spec test=develop * Add usage example in doc test=develop # This is the 5th commit message: fix reference_count_pass,test=develop (#17060) test=develop # This is the 6th commit message: Speedup roi_perspective_transform op by caching the information of linear interpolation in forward (#17090) * Cache the information of linear interpolation in forward and use it in backward. test=develop * Fix cuda kernel. test=develop # This is the 7th commit message: remove unnecessary prepare_data (#17080) test=develop # This is the 8th commit message: fix interpolate cu. test=develop (#17101) # This is the 9th commit message: test=develop, double backward leaky_relu (#17067) backward of backward: leaky_relu # This is the 10th commit message: fix fuse optimizer ops (#17102) test=develop # This is the 11th commit message: truncated_gaussian_random supported in distributed training, test=develop (#17091) # This is the 12th commit message: Detailed coordinate description for yolov3 loss (#17007) * Detailed coordinate description for yolov3 loss test=develop * modified api.spec test=develop * modified loss name * fix api.spec test=develop * polish description test=develop * modified api.spec test=develop # This is the 13th commit message: fix test_weight_decay (#17109) test=develop # This is the 14th commit message: Path flag (#17105) * fix python/paddle/fluid/__init__.py detecting problems
-
- 24 10月, 2018 1 次提交
-
-
由 phlrain 提交于
-
- 23 10月, 2018 1 次提交
-
-
由 phlrain 提交于
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 20 3月, 2018 4 次提交
-
-
由 Kexin Zhao 提交于
-
由 Kexin Zhao 提交于
-
由 Kexin Zhao 提交于
-
由 Kexin Zhao 提交于
-
- 24 2月, 2018 1 次提交
-
-
由 Luo Tao 提交于
-
- 13 2月, 2018 1 次提交
-
-
由 Xin Pan 提交于
Currently, our tests run with 2 GPUs, the init time is absurdly long: about 4s for each process. Currently, we run each OP test on different processes. This PR: 1. create cmake function py_test_modules which will generate the Makefile that runs a list of Python unittest module in a single Python process. 2. move all "python unittest compatible" (e.g., used the unittest package, not just a regular python file). from fluid/tests to fluid/tests/unittests. 3. cmake now will run all OP tests in fluid/tests/unittests in a single process, except the time-consuming tests, they are separated into different processes to utilize parallelism. Please make sure to use the unittest package if you put the python test file in fluid/tests/unittests 4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used to disable unittest, we can not do it when running all tests in a single process since it will terminate the process without running the other tests. Instead, the test is disabled in fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled item. Please disable the unittest from fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the Python file, for all Python file in fluid/tests/unittests/. 5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit tests in separate process so that they can be tested individually.
-
- 12 2月, 2018 1 次提交
-
-
由 qingqing01 提交于
-