- 28 11月, 2022 1 次提交
-
-
由 xiaoguoguo626807 提交于
* remove fluid.reduce_sum * remove fluid.reduce_sum * modify axis and import paddle * modify keepdim and out_name * modift unittest * modift unittest * modify CI_static and loss.py * modify test_mse_loss * modify static ci * modify static ci datatype * add import paddle in test * fix conflict * fix conflict * modify ci * modify ci * fix_conflict * fix bug * code_style
-
- 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
-
- 19 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 2) (#45213) * autofix (get ci log) * retrigger ci * fix test_gather_nd_op, wrong expected in dygraph * fix test_activation_op, unpack static graph result * fix test_auc_op, unpack static graph result * fix test_bce_loss, unpack static graph result * fix test_bce_with_logits_loss, unpack static graph result * fix test_cond, unpack static graph result * fix test_dygraph_weight_norm, wrong numpy reference when `axis=None` * fix test_einsum, wrong matmul inputs * fix test_elementwise_heaviside_op, unpack static graph result * fix test_frac_api, unpack static graph result * skip test_group_norm_op_v2, probably the wrong numpy reference * fix test_imperative_double_grad, wrong subscript * skip test_imperative_tensor_clear_gradient, ??? * skip test_layer_norm_op, probably the wrong numpy reference * fix test_math_op_patch, unpack static graph results * fix test_masked_select_op, unpack static graph results * fix test_mse_loss, unpack static graph results * fix test_multi_label_soft_margin_loss, unpack static graph results * fix test_multi_dot_op, unpack static graph results * fix test_nll_loss, unpack static graph results * fix test_normalization_wrapper, unpack static graph results * fix test_pass_builder, unpack static graph results * fix test_prelu_op, possibly an extra comma * fix test_psroi_pool_op, unpack static graph results * fix test_queue, unpack static graph results * fix test_reorder_lod_tensor, compare an item with a list * fix test_rrelu_op, unpack static graph results * fix test_searchsorted_op, unpack static graph results * fix test_sigmoid_focal_loss, unpack static graph results * fix test_smooth_l1_loss, unpack static graph results * fix test_soft_margin_loss, unpack static graph results * fix test_softmax2d, unpack static graph results * fix test_square_error_cost, unpack static graph results * fix test_tril_indices_op, unpack static graph results * fix test_unsqueeze_op, mismatch numpy reference (axis) * skip test_layers, `static_rlt` is missing an axis * fix test_mnist, unpack PredictorTools result (also a list) * fix test_build_strategy, unpack PredictorTools result * fix test_mobile_net, unpack PredictorTools result * fix test_resnet_v2, unpack PredictorTools result * revert some changes revert test_layers revert test_group_norm_op_v2 revert test_layer_norm_op revert test_imperative_tensor_clear_gradient * fix test_normal, use flatten instead of reshape, (PR-CI-Windows-OPENBLAS) * empty commit, trigger CI
-
- 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
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 12 6月, 2018 1 次提交
-
-
由 qingqing01 提交于
* Add normalization operator. 1. Refine the raw norm_op and let it more general to support to normalize Tensor along any axis. 2. There is a bug in l2_normalize API, which lacks sqrt after `reduce_sum`. 3. Use norm_op to refine the l2_normalize API. 4. Fix bug in test_normalization_wrapper.py.
-
- 24 2月, 2018 2 次提交
- 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 提交于
-
- 24 1月, 2018 1 次提交
-
-
由 Yang Yu 提交于
The English of the previous API is bad.
-
- 21 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* "fix decode bug" * "follow commnet" * "fix error" * "fix hook bug" * fix based comment * fix copyright * fix based on comment
-
- 16 1月, 2018 1 次提交
-
-
由 caoying03 提交于
-