- 30 4月, 2021 1 次提交
-
-
由 pangyoki 提交于
* add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs * add softmax_with_cross_entropy_ Inplace API * add clip_ scale_ add_ subtract_ Inplace APIs * add wlist * fix parameter of scale api * add add_n_ Inplace API and remove log_ Inplace API * fix elementwise_add_ and elementwise_sub_ broadcast problem * elementwise inplace api give error message before run the op * use broadcast_shape in elementwise inplace op * add 8 inplace apis that is auto generated * add unittest for all inplace apis * add decorator for inplace apis in static mode * fix windows blas fail of exp inplace api, change array_equal to allclose * add flatten inplace api * add flatten unittest * fix flatten unittest * add decorator * fix grad.numpy in test_pylayer_op * unsupport softmax_with_cross_entropy_ * add test_inplace_softmax_with_cross_entropy to static_mode_white_list * delete __all__ in inplace_utils * delete activation inplace function and add Tensor.inplace_func * change paddle.inplace_ to Tensor.inplace_ * fix little problem * add paddle in inplace_utils
-
- 28 4月, 2021 1 次提交
-
-
由 wawltor 提交于
Reduce the time cost for the elementwise_add test case (#32628)
-
- 14 4月, 2021 1 次提交
-
-
由 wawltor 提交于
-
- 03 2月, 2021 1 次提交
-
-
由 wawltor 提交于
fix the broadcast for the large second input
-
- 25 12月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* try to add fwd op input dtypes * refactor base impl * return tmp_ins after dygraph prepare data * fix typo found in debug * polish comment & add complex net test * revert detail change * fix unittest failed * add complex kernel condition control * fix xpu test failed & polish comment * polish details by review comments
-
- 15 12月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add op test case for complex * polish code details * add xpu set constant support * fix argument rror * remove useless pyc file
-
- 14 12月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 17 8月, 2020 1 次提交
-
-
由 Yang Zhang 提交于
* Update `paddle.add` remove `alpha` update doc sample code remove `:alias` etc * Remove `imperative` reference from docstring
-
- 03 8月, 2020 1 次提交
-
-
由 WuHaobo 提交于
* test=develop,test=document_fix, remove the out args * Revert "test=develop,test=document_fix, remove the out args" This reverts commit f430799b. * test=develop,test=document_fix, remove the out args * remove all the out args * remove all the out args * test=develop, remove all the out args * test=develop, remove all the out args * test=develop, remove out args in matmul testcase * test=develop, fix the bugs of out args testcase in logsumexp * test=develop, fix the bugs of out args testcase in elementwise_add * test=develop, fix the bugs of out args testcase in elementwise_div * test=develop, fix the bugs of out args testcase in activation * test=develop, fix the bugs of out args testcase in addcmul * test=develop, fix the bugs of out args * test=develop, fix the bugs of out args in API example * test=develop, fix the bugs of out args in kron testcase * test=develop, fix the bugs of out args in kron testcase * test=develop, remove out args * test=develop, remove out args * test=develop, fix the coverage * test=develop, polish codestyle * test=develop, Update math.py * test=develop, polish codestyle * test=develop, polish codestyle * test=develop, polish codestyle * test=develop, polish codestyle * test=develop, polish the test_activation_op.py * test=develop, Update math.py * test=develop, fix the failed CI * test=develop, add core.ops * test=develop, add core.ops change clamp to clip * test=develop, add core.ops change clamp to clip * test=develop, write testcase for clamp OP
-
- 12 5月, 2020 1 次提交
-
-
由 wawltor 提交于
* Remove the error in the elementwise op, use the backup mode to calculate
-
- 04 4月, 2020 1 次提交
-
-
由 LutaoChu 提交于
* add new op paddle.tensor.div(x, y, out=None, name=None) * add gpu and dygraph unittests. * Performance optimization: scale op is not called when alpha=1. * op error message optimization.
-
- 23 1月, 2020 1 次提交
-
-
由 Wojciech Uss 提交于
-
- 17 1月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 19 12月, 2019 1 次提交
-
-
由 juncaipeng 提交于
-
- 18 12月, 2019 1 次提交
-
-
由 GaoWei8 提交于
test=develop
-
- 09 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
* fix python API tests that do not need to inherit OpTest, test=develop * fix fp16 cases that will only be enabled in GPU mode, test=develop * remove TestSoftmaxFP16Op from test cases of softmax_mkldnn_op, test=develop * fix tests so that the cases are only created in GPU mode, test=develop
-
- 02 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
There are PythonAPI tests in Op's unittest which don't need to inherit OpTest class.
-
- 21 11月, 2019 1 次提交
-
-
由 zhongpu 提交于
* open dygraph op test, test=develop * modify to_variable, test=develop * modify input and output for dygraph, test=develop * modify input and output for dygraph(fix bug), test=develop * fix input processing of dygraph op test, test=develop * fix bug, test=develop * fix op test, test=develop * fix forward bug for dygraph, test=develop * fix mkldnn op test for forward, test=develop * update nn.py for dygraph, test=develop * fix crop_tensor_op, test=develop * fix elementwise_mul_op, test=develop * fix fill_op, test=develop * fix some mkldnn op, test=develop * open backward op test for dygraph, test=develop * delete log, test=develop * close backward op test for dygraph, test=develop * fix bug for edit_distance_op and test_lstm_cudnn_op, test=develop * fix optest backward bug for dygraph, test=develop * fix optest backward bug for dygraph, test=develop * close backward op test for dygraph, test=develop * close backward op test for dygraph, test=develop * open dygraph op test, test=develop * fix op test for dygraph, fix GradOpDescMaker, test=develop * fix bug for linear_chain_crf_op.h, test=develop * remove log, test=develop * remove log, test=develop * remove log for op_test.py, test=develop * remove log for op_test.py, test=develop * fix bug for var_conv_2d_op, change PADDLE_ENFORCE, test=develop * fix PADDLE_ENFORCE_EQ for hierarchical_sigmoid_op.cc, test=develop * fix bug for test_increment_ngraph_op.py, test=develop * fix lod for op test in dygraph, test=develop * refactor op_test.py to reduce redundant code, test=develop * fix lod optest, modify InputVar/OutputVar to HasInput/HasOutput, test=develop * remove debug log, test=develop * remove redundant code in base.py, test=develop * fix some error in optest, test=develop * fix ClearNoNeedBufferInputs function's bug for LoDTensor, test=develop * refactor op_test.py, test=develop * remove redundant writing, test=develop * fix error(get tensor of the grad variable), test=develop * fix test_concat_mkldnn test_conv2d_mkldnn, test=develop * fix optest.py for get tensor of LoDTensor, test=develop * fix optest.py for get tensor of LoDTensor, test=develop * fix optest.py for get tensor of LoDTensor, test=develop * fix some redundant code, test=develop * reslove conflict and rewrite paddle error message, test=develop
-
- 19 11月, 2019 1 次提交
-
-
由 danleifeng 提交于
-
- 10 10月, 2019 1 次提交
-
-
由 danleifeng 提交于
-
- 04 9月, 2019 1 次提交
-
-
由 danleifeng 提交于
elementwise broadcast function enhancement
-
- 16 11月, 2018 2 次提交
-
-
由 Michal Gallus 提交于
-
由 Tomasz Patejko 提交于
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 26 6月, 2018 1 次提交
-
-
由 Tomasz Patejko 提交于
* elementwise_add with bcast: Brian's implementation by Brian added, with default bcasts * elementwise_add with bcast: GetExpectedKernelType added to elementwise_op * elementwise_add with bcast: use_mkldnn attribute added * elementwise_add with bcast: changes after review and some formatting * elementwise_add with bcast: changes after style check * elementwise_add with bcast: changes after style check cont. * elementwise_add with bcast: MKLDNN unittests added * elementwise_add with bcast: original unittests with use_mkldnn flag * elementwise_add with bcast: handling of MKLDNN format corrected * elementwise_add with bcast: setting MKLDNN format turned into lambda * elementwise_add with bcast: MKDNN format setting turned into separate function * elementwise_add with bcast: condition for choosing MKLDNN simplified * elementwise_add with bcast: fix for MKLDNN format set incorrectly in bcasts * elementwise_add with bcast: changes in unittests for broadcasts * elementwise_add with bcast: fixes in unittests regarding dimensions * elementwise_add with bcast: bring back correct format setting in mklml grad path * elementwise_add with bcast: fixed compilation error
-
- 06 6月, 2018 1 次提交
-
-
由 fengjiayi 提交于
-
- 20 3月, 2018 2 次提交
-
-
由 Kexin Zhao 提交于
-
由 Kexin Zhao 提交于
-
- 28 2月, 2018 1 次提交
-
-
由 xuwei06 提交于
When the second argument contains batch dimension, the axis should be 0. Also makes elementwise ops more tolerant at handling tensors with trailing singular dimensions.
-
- 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 提交于
-
- 17 1月, 2018 1 次提交
-
-
由 fengjiayi 提交于
-
- 15 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* add copyright hook * add copyright hook * refine copyright hook * "test copyright hook" * fix check style * fix ci
-
- 14 11月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* init commit * change some dir name
-
- 20 10月, 2017 1 次提交
-
-
由 qijun 提交于
-
- 22 9月, 2017 1 次提交
-
-
由 gongweibao 提交于
Elementwise operator add/sub/mul/div
-