- 10 3月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support variable parameter in optest * add error msg for use tensor attr in static code gen * fix static code gen * fix prim op test * modify comment * fix op test * fix ci * remove code
-
- 09 3月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support elementwise_pow bfloat16 * add only_check_prim parameters in check_grad * modify unit test * fix floor test * fix sigmoid bfloat16 test * norm some ops prim test * add unit16 for sqrt
-
- 02 3月, 2023 1 次提交
-
-
由 jiangcheng 提交于
-
- 21 2月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support prim test in OpTest * fix cmake * fix op test * fix test_input_spec * disable cinn in reduce_sum unit test * add bfloat16 dtype for sum * polish code * add clear jit program function * convert grad out from tensor to numpy * remove unnecessary code * add only_prim flag * fix flag * fix op test * fix optest comp inplace error * fix op test * fix op test with guard * add initialization of check_comp flag * fix comp inplace error in op test * rename check_comp with check_prim and add bfloat16 dtype convert * rename comp_op_type to prim_op_type * rename comp to prim * remove useless code * skip ci check for only prim * add no_grad_vars and grad_outputs in prim test * fix var_dict * fix op test for only_prim * fix dy2static bugs * polish some code
-
- 31 1月, 2023 1 次提交
-
-
由 姜永久 提交于
* update erf gumbel_softmax ..ops * lint * reset sequence_conv * reset exponetial&interp nearest
-
- 20 1月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* replace paddle.fluid.layers.data and remove io.data * partial commit * partial commit * partial commit * partial commit * partial commit * partial commit * remove data in fluid.layers.io.__all__ * fix errors * fix unitests * fix unitest * fix unitests * fix unitest * fix unitest * fix unitests * fix unitest * fix test_layers unitests * fix typro * fix unitest * fix unitest * fix unitest * fix typro * fix unitest test_model_cast_to_bf16 * fix test_reducescatter * fix collective unitest * fix collective unitests * fix collective unitests * add coverage * fix add layers.data * re run ci * fix some typro * fix samplecode error * fix samplecode error
-
- 11 1月, 2023 1 次提交
-
-
由 姜永久 提交于
* rm retain_grad_flag for tests * modify transpose op * retain grads for xpu tests * lint * modify xpu test
-
- 13 12月, 2022 1 次提交
-
-
由 姜永久 提交于
-
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* isort all files * revert conflicting files * revert conflicting files * revert conflicting files * revert conflicting files * revert conflicting files
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 11 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 13 9月, 2022 1 次提交
-
-
由 Charles-hit 提交于
-
- 10 8月, 2022 1 次提交
-
-
由 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
-
- 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
-
- 21 4月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
-
- 19 4月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Phi]Fix expand_sig infershape BUG under static graph mode * [Phi]Fix expand_sig infershape BUG under static graph mode * [Phi]Fix unittest * [Phi]Fix unittest
-
- 13 4月, 2022 1 次提交
-
-
由 hong 提交于
* add expand, poisson * add poison grad * add expand equal_all poisson triangular solve yaml
-
- 07 4月, 2022 1 次提交
-
-
由 hong 提交于
* add dist erfinv gumbel softmax * fix test gumbel softmax op bug * try to fix gumbel softmax error * add label smooth backlist
-
- 03 3月, 2022 1 次提交
-
-
由 hong 提交于
* add bn cpu version; test=develop * move batch norm to pten * move batch norm to pten; test=develop * fix bug; test=develop * fix func::tranpose depend bug; test=develop * fix compile bugs; test=develop * fix use_op batch_norm bug; test=develop * fix cudnn bn add relu test; test=develop * fix pten context build and double grad bug; test= develop * remve useless code; test=develop * add batch norm gpu fp16 support; test=develop * fix test bn op bug; test=develop * remove output dtype set; test=develop * fix bug; test=develop * fix bug; test=develop * fix applay pass to program bug; test=develop * revert to develop; test=develop * fix rocm bug; test=develop * revert operator to develop; test=develop * fix pre_commit; test=develop * fix statci check error; test=develop * resolve conflict; test=develop * ana batch norm bug; * revert batch norm op * resolve conlict * fix nan inf and speed bug; test=develop * fix bug; test=develop * fix error; test=develop * test expand op; test=develop * fix bug; test=develop * resolve confilct * resolve confilct; test=develop * polish code; test=develop * polish code; test=develop * change mutable data to ctx alloc; test=develop * make format same with ci; test=develop * fix format error with ci; test=develop
-
- 18 8月, 2020 1 次提交
-
-
由 lilong12 提交于
align expand_as op to expand.
-
- 16 8月, 2020 1 次提交
-
-
由 lilong12 提交于
* adaptive expand op to 2.0 (align to torch.expand) , test=develop
-
- 06 1月, 2020 1 次提交
-
-
由 zhupengyang 提交于
affine_channel, affine_grid, bilinear_interp, bilinear_tensor_product, clip, crop, crop_tensor, cumsum, data_norm, expand, expand_as
-
- 18 12月, 2019 1 次提交
-
-
由 juncaipeng 提交于
-
- 12 12月, 2019 1 次提交
-
-
由 zhupengyang 提交于
sequence_unpad, expand, pad, pad_constant_like, norm, bilinear_tensor_product, flatten2, im2sequence, unpool, cos_sim, strided_slice, flatten, elementwise_min, abs, acos test=develop
-
- 04 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
* fix PythonAPI test in Op unittest, test=develop * fix unit tests that do not need to inherit OpTest, test=develop
-
- 13 10月, 2019 1 次提交
-
-
由 liym27 提交于
2. fix bug in backward.py: using fill_constant instead of fill_constant_batch_size_like 3. fix bug in ExpandGradOp. test=develop
-
- 10 10月, 2019 1 次提交
-
-
由 wangchaochaohu 提交于
* fix expand bug test=develop * fix style test=develop * fix style test=develop * fix style test=develop * fix style test=develop
-
- 17 9月, 2019 1 次提交
-
-
由 liym27 提交于
1. add tensor support for argument expand_times in expand op; 2. add support parameter inference when argument expand_times is a list containing integer and tensor variable; improve expand op according to reviews: 1. add doc of ExpandTimes in expand_op.cc; 2. improve the test of test_api. add stop_gradient=True when attr(expand_times) is tensor Variable, change code examples. test=develop,test=document_preview
-
- 04 6月, 2019 1 次提交
-
-
由 Hongyu Liu 提交于
* expand support tensor attribute; test=develop * fix bug ; test=develop * fix uni test bug; test=develop * fix copy bug; test=develop * refine expand_times default value; test=develop
-
- 14 2月, 2019 1 次提交
-
-
由 jerrywgz 提交于
-
- 13 2月, 2019 1 次提交
-
-
由 jerrywgz 提交于
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 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
-