- 22 12月, 2022 1 次提交
-
-
由 Ghost Screaming 提交于
* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Remove climits. * Clean Fluid APIs in python/paddle/fluid/layers/nn.py, migrate spectral_norm and row_conv APIs, and remove ont_hot. Including following files: 1. python/paddle/fluid/layers/nn.py 2. python/paddle/fluid/tests/unittests/collective/fleet/parallel_dygraph_transformer.py 3. python/paddle/fluid/tests/unittests/dist_transformer.py 4. python/paddle/fluid/tests/unittests/dygraph_to_static/transformer_dygraph_model.py 5. python/paddle/fluid/tests/unittests/ipu/test_one_hot_op_ipu.py 6. python/paddle/fluid/tests/unittests/test_imperative_auto_prune.py 7. python/paddle/fluid/tests/unittests/test_imperative_load_static_param.py 8. python/paddle/fluid/tests/unittests/test_layers.py 9. python/paddle/fluid/tests/unittests/test_one_hot_op.py 10. python/paddle/fluid/tests/unittests/test_row_conv_op.py 11. python/paddle/fluid/tests/unittests/test_runtime_and_compiletime_exception.py 12. python/paddle/fluid/tests/unittests/test_spectral_norm_op.py 13. python/paddle/static/nn/__init__.py 14. python/paddle/static/nn/common.py * Polish code. * Fix some bugs. * Remove useless unittest. * Fix some bug. * Polish example code. * Fix some bugs. * Fix some bugs.
-
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 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
-
- 07 5月, 2020 1 次提交
-
-
由 Feiyu Chan 提交于
* API/OP (margin_rank_loss, nce, row_conv, glu, positive_negative_pair) error message enhancement, test=develop * add unittest for glu, test=develop
-
- 24 2月, 2020 1 次提交
-
-
由 Double_V 提交于
-
- 19 12月, 2019 1 次提交
-
-
由 GaoWei8 提交于
* Remove self-set accuracy parameters of op tests: max_relative_erro test=develop * fix error test=develop
-
- 29 11月, 2019 1 次提交
-
-
由 hong 提交于
* add_dygraph_execution_context * add dygraph infershape context and execution context; test=develop * fix imperative bug; test=develop * remove inputs outputs interface from execution context, because it have same function with inputNames; test=develop * remove tracer_test ctest; test=develop * fix split op bug; test=develop * fix unitests bug; test=develop * fix distribute test bug; test=develop * fix ngraph compile bug; test=develop * fix grad maker bug; test=develop * fix load op bugs; test=develop * fix operator.cc construct bug; test=develop * remove useless name find in operator; test=develop * add tracer_test; test=develop * fix concat, split bug; test=develop * remove tracer_test unitest; test=develop * fix attribute check bug; test=develop * add test code to fix converage; test=develop * remove useless code, change check backward input in engin; test=develop * unlock var type infer shape;test=develop * add ShareAllLoD api; test=develop * add dygraph infershape context unitest; test=develop * remove increase and decrease lod in dygraph; test=develop * addd override; test=develop * fix increase descrease lod; test=develop * fix paddle_enforce; test=develop * disable lod op dygraph check; test=develop * fix paddle enforce error; test=develop * add comment for op_registry and OperatorBase; test=develop * optimize the comment of op_registry; test=develop * fix format of comment; test=develop * fix format of comment; test=develop * optimize the format of comment; test=develop * optimize the format of the comment; test=develop * optimize comment of op_registry; test=develop
-
- 28 8月, 2019 1 次提交
-
-
由 Double_V 提交于
fix row_conv_op to force it support lodtensor and tensor input simultaneously, test=develop (#19412) Support Tensor input for row_conv_op
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 15 6月, 2018 1 次提交
-
-
由 Kexin Zhao 提交于
* 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
-
- 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 提交于
-
- 21 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* "fix decode bug" * "follow commnet" * "fix error" * "fix hook bug" * fix based comment * fix copyright * fix based on comment
-
- 15 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* add copyright hook * add copyright hook * refine copyright hook * "test copyright hook" * fix check style * fix ci
-
- 12 12月, 2017 1 次提交
-
-
由 Siddharth Goyal 提交于
* Fix documentation * Address review comments
-