- 16 12月, 2019 3 次提交
-
-
由 Leo Chen 提交于
* patch math method for varbase using auto-generated op functions, test=develop * clean code that handles batch_size, test=develop * follow comments, test=develop * follow comments, test=develop * code clean, test=develop
-
由 lilong12 提交于
-
由 Aurelius84 提交于
* add backward unittest test=develop * add sub-branch in test_backward.py test=develop * refine code, add comment test=develop * reconstruct TestBackward Class test=develop * fix typo of comment test=develop
-
- 15 12月, 2019 2 次提交
-
-
由 WangXi 提交于
-
由 gongweibao 提交于
-
- 14 12月, 2019 2 次提交
-
-
由 juncaipeng 提交于
* update op test framework
-
由 juncaipeng 提交于
-
- 13 12月, 2019 3 次提交
-
-
由 zhupengyang 提交于
affine_grid, label_smooth, spectral_norm, warpctc, nearest_interp, data_norm, match_matrix_tensor, var_conv_2d, fused_embedding_seq_pool test=develop
-
由 WangXi 提交于
-
由 zhupengyang 提交于
sequence_expand_as, squared_l2_distance, gather_nd, center_loss, rank_loss, conv_shift, spp, modified_huber_loss, smooth_l1_loss, multiplex, sequence_softmax, nce, huber_loss, group_norm, kldiv_loss, hinge_loss, expand_as test=develop
-
- 12 12月, 2019 8 次提交
-
-
由 joanna.wozna.intel 提交于
* Add reshape int8 op test=develop * Change test to CPUPlace test=develop * Correct tests test=develop
-
由 baojun 提交于
-
由 baojun 提交于
* fix test for PY3 test=develop * reduce file changes test=develop
-
由 WangXi 提交于
-
由 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
-
由 tangwei12 提交于
* add fake init for the trainer, fix large memory hold in the trainer * do not merge recv vars from a remote endpoint, test=develop * add recv and save op, merge slice var in one op, save memory * remove hsigmoid with pull sparse, test=develop
-
由 zhupengyang 提交于
* fix input shape of op tests for elementwise_sub, gather, pad2d, transpose, softmax, scale, elementwise_max, hierarchical_sigmoid, reshape2, sign, squeeze, reduce_sum, sum, squeeze2, unsqueeze, unsqueeze2, cast, reverse test=develop * fix cast, elementwise_mul, gather, scale, sign, softmax, transpose test=develop
-
由 juncaipeng 提交于
* change several tests to use the right parent class, test=develop * add dtype for TestLoDTensorAndSelectedRowsOp, test=develop
-
- 11 12月, 2019 1 次提交
-
-
由 mapingshuo 提交于
* add no_need_buffer_slots interface to pybind
-
- 10 12月, 2019 3 次提交
-
-
由 mapingshuo 提交于
* add seed op
-
由 xujiaqi01 提交于
* fix master patch when slot is dense * test=develop
-
由 Leo Chen 提交于
* add op function generator, test=develop * add unittest, test=develop * follow comments, test=develop * fix windows compilation problem, test=develop
-
- 09 12月, 2019 5 次提交
-
-
由 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
-
由 liym27 提交于
* add shell scripts. test=develop * rename test_pybind_inference to test_pybind_interface and print repeat process in check_op_desc.py. test=develop * add approval RD. test=develop
-
由 guofei 提交于
Add basic while_loop
-
由 Leo Chen 提交于
* refine init function, test=develop * add tests, test=develop * remove extern, which may cause symbol error in gcc-4.8, test=develop
-
由 lijianshe02 提交于
change input data type and decrease max_relative_error value in test_check_grad for grop_nom_op test test=develop (#21608)
-
- 06 12月, 2019 5 次提交
-
-
由 Huihuang Zheng 提交于
Add tests to use dy/dx to make sure the gradient values calculated by the control flow backward is correct. Also fixed bugs detected by those tests. Fix bugs: 1. Unlike sum_op, optimizer ops don't allow uninitialized input tensor. But in conditional_block_grad_op, since the conditional_block may not run, the output gradient tensor may be uninitialized, which will cause the optimizer op error. To fix it, we should let optimizer ops support uninitialized input like sum_op or assign the uninitialized gradient to 0 when the conditional_block_grad_op doesn't run. I found there are about 10+ optimizer ops. **To be simpler, I just assign output gradient of the conditional_block_grad_op to 0 in this PR**. But it can be further explored whether we can make optimizer ops like sum_op to support uninitialized input tensor because theoretically we can speed up without the assigning in conditional_block_grad_op. 2. Infer parameter shapes during append_backward. I didn't know that all our parameters are in global block. When op_desc is inferring shapes at the sub-block, it may not know the shape of gradients of parameters whose shape information is at global block. I fixed it by inferring shapes of gradients from forward var. This PR also did some code clean up: 1. Print the var name when sgd_op catches shape error so that it is easier to debug 2. Fix a typo: dicta -> dict
-
由 hutuxian 提交于
* Add a single_process_multi_thread transpiler. * Add some UTs. * Fix some API description.
-
由 liym27 提交于
* add file check_op_desc.py and add interface to get default value. test=develop * add test for c++ coverage rate. test=develop * Correct typo. test=develop
-
由 Feiyu Chan 提交于
Add a python interface for Gelu. Add documentation for fluid.layers.gelu.
-
由 Jacek Czaja 提交于
* - BAtch norm mkl-dnn NHWC test=develop - compilation fix test=develop - UT fix - cosmetics test=develop - Fix to Batch Norm MKL-DNN NHWC UT test=develop Conflicts: paddle/fluid/operators/batch_norm_op.h * - Lint fixes test=develop
-
- 05 12月, 2019 3 次提交
-
-
由 hong 提交于
* dygraph mode support linear lr warm up; test=develop * add unitest for linear warmup; test=develop * add input type check; test=develop * fix type check assert error; test=develop * change type error; test=develop
-
由 lilong12 提交于
-
由 Leo Chen 提交于
* test=develop, fix docker with paddle nccl problem * don't expose numerous Tensor.set(), test=develop * fix condition, test=develop * fix float16 bug, test=develop * feed should be Tensor or np.array, not Variable or number, test=develop * use forcecast to copy numpy slice to new array, test=develop * remove float16-uint16 hacking, test=develop * add variable method to varbase and refactor to_variable to support return varbase * support kwargs in varbase constructor * add VarBase constructor to support default python args * refine varbase initial method * reset branch * fix ut for change VarBase error info to PaddleEnforce * cherry is parameter change before * overload isinstance to replace too many change of is_variable * rm useless files * rm useless code merged by git * test=develop, fix some ut failed error * test=develop, fix test_graph_wrapper * add some tests, test=develop * refine __getitem__, test=develop * add tests, test=develop * fix err_msg, test=develop
-
- 04 12月, 2019 4 次提交
-
-
由 Youwei Song 提交于
* dygraph Embedding layer use lookuptable v2 test=develop * fix test_nce test=develop
-
由 wangchaochaohu 提交于
* fix fill_constant_batch_size_like_op precious problem test=develop
-
由 Zhang Ting 提交于
* fix PythonAPI test in Op unittest, test=develop * fix unit tests that do not need to inherit OpTest, test=develop
-
由 WangXi 提交于
-
- 03 12月, 2019 1 次提交
-
-
由 lilong12 提交于
* fix the compatiable problem between PY2 and PY3. * add ut, test=develop * add proxy, test=develop * download dataset before test, test=develop
-