- 09 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
* dygraph_grad_maker supports varbase without grad_var, test=develop * fix compile, test=develop * fix test_tracer, test=develop * follow comments, test=develop
-
- 07 12月, 2019 1 次提交
-
-
由 xujiaqi01 提交于
* remove optimize_for in framework.proto * test=develop
-
- 06 12月, 2019 8 次提交
-
-
由 Zeng Jinle 提交于
* polish infer shape registry, test=develop * modify some operators registry, test=develop
-
由 Aurelius84 提交于
-
由 Zeng Jinle 提交于
-
由 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
-
由 Jacek Czaja 提交于
test=develop
-
由 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 5 次提交
-
-
由 Zeng Jinle 提交于
-
由 Huihuang Zheng 提交于
As the title
-
由 Pei Yang 提交于
-
由 wangchaochaohu 提交于
* fix profiler warning message in cpu profile mode test=develop
-
由 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 7 次提交
-
-
由 Youwei Song 提交于
* dygraph Embedding layer use lookuptable v2 test=develop * fix test_nce test=develop
-
由 Pei Yang 提交于
* make DisableGlogInfo able to mute all logs in inference.
-
由 wangchaochaohu 提交于
* fix fill_constant_batch_size_like_op precious problem test=develop
-
由 Zhaolong Xing 提交于
test=develop
-
由 WangXi 提交于
-
由 hong 提交于
* add overrider for virtual function; test=develop * fix layer.h OutputName bug; test=develop
-
由 Aurelius84 提交于
* add _get_all_register_op_kernels api test=develop * refine usage of check_op_register_type test=develop * add import in core test=develop
-
- 03 12月, 2019 12 次提交
-
-
由 Zeng Jinle 提交于
-
由 Jacek Czaja 提交于
-
由 GaoWei8 提交于
* add ernie-large test test=develop * add ernie large c++ inference test test=develop
-
由 zhongpu 提交于
* support SelectedRows in dygraph, test=develop * fix bug of _grad_ivar interface, test=develop * add optest for support seletedrows, test=develop * fix bug for gradient_accumulator in GPU mode, test=develop * fix error when Selectedrows addto LodTensor in sorted_gradient mdoe in dygraph, test=develop * refine and simplify gradient accumulator code, test=develop * add optest, test=develop * add optest and simplify code, test=develop * fix bug for test_imperative_selected_rows, test=develop * add optest for Coverage, test=develop * fix gradient interface and simplify code, test=develop * update api for gradient, test=develop * fix ShareDim's bug in DygraphExecutionContext class, test=develop * add optest, test=develop
-
由 Tao Luo 提交于
test=develop
-
由 lilong12 提交于
* set dim[0] to -1 if dim[0] < 0 and remove assertion to runtime, test=develop * modify ENFORCE message, test=develop * add validation for x.shape[0] > 0, test=develop * add ut, test=develop
-
由 Zhaolong Xing 提交于
* add jeston compile support test=develop * refine the cmake test=develop
-
由 Zhaolong Xing 提交于
test=develop
-
由 tangwei12 提交于
-
由 Zeng Jinle 提交于
* fix default grad op maker ci bug, test=develop, test=document_fix * remove some ops from paddle/fluid/op_use_default_grad_op_maker.spec, test=develop, test=document_fix
-
由 Huihuang Zheng 提交于
Add warning message when initialize GLOG failed
-
由 Leo Chen 提交于
-
- 02 12月, 2019 6 次提交
-
-
由 Tao Luo 提交于
* fix -Wno-error=sign-compare warning in gcc8 test=develop * fix warning in distributed codes test=develop
-
由 Lv Mengsi 提交于
* fix transpose conv,test=develop * fix comments test=develop
-
由 hutuxian 提交于
* refactor AUC OP and add its CUDA Kernel * the layout of global auc doesn't change
-
由 wawltor 提交于
* fix the device supported of the op unique and unique_with_counts. test=develop test=document_fix * Fix the precision of test in the op of unique and unique_with_counts. test=develop test=document_fix
-
由 wangchaochaohu 提交于
-
由 wangguanzhong 提交于
* fix shape check in density_prior_box, test=develop
-