- 29 6月, 2020 3 次提交
-
-
由 Wilber 提交于
-
由 Wilber 提交于
-
由 Huihuang Zheng 提交于
This PR added basic support for 'return' grammar in dy2stat. It supports the control flow of 'return'. The basics idea is using a return value variable to store the early return statements and boolean state variables with if-else to skip the statements after the return statements. **This PR is very basic support. There are some corner cases I didn't develop/test**. For example, 'return None', 'return different length of variables', 'return non-tensor and tensor together', 'no return statement'. **These corner cases will be done in my next PRs**. Target date is this week. **Note**: 1. for the unit test, I changed test_program_translator.py because the StaticCode of `dyfunc_with_if_else` will change. To guarantee the correctness of `dyfunc_with_if_else`, I also run it in `TestRecursiveReturn` in test_return.py. 2. I commented the early return code in bert_dygraph_model.py because 'return different length of variables' is unsupported now. I also know that there are some other models used early return and we didn't enable it in the unit test. I will add support for it in next PRs and then re-enable those tests.
-
- 28 6月, 2020 2 次提交
-
-
由 liym27 提交于
-
由 Aurelius84 提交于
-
- 26 6月, 2020 1 次提交
-
-
由 liu zhengxi 提交于
* fix beam_search infershape, test=develop * fix beam search op unittest, test=develop
-
- 25 6月, 2020 1 次提交
-
-
由 chalsliu 提交于
-
- 24 6月, 2020 4 次提交
-
-
由 Chen Weihang 提交于
* add default cudnn lib path, test=develop * change default path in func, test=develop * move to linux branch, test=develop * fix var error in other plat, test=develop
-
由 Aurelius84 提交于
* add cycle_gan_model * align train test=develop * modify image_size into 64 to avoid TimeOut test=develop * TODO in GPU test=develop
-
由 Leo Chen 提交于
* refine PADDLE_THROW, test=develop * refine error msg, test=develop * refine cuda error, test=develop * follow comments, test=develop * fix compile problem, test=develop * fix bug, test=develop
-
由 FDInSky 提交于
* test=develop fix conv3d_transpose_test error
-
- 23 6月, 2020 5 次提交
-
-
由 Adam 提交于
* Refactor of conv fp32 oneDNN operator test=develop * Formatting fix test=develop * Return Enforces test=develop * GetWeights improvements test=develop
-
由 Pei Yang 提交于
* Paddle-TensorRT support slim QAT. test=develop * add comments. test=develop * use RenameInput instead of ResetInputs. test=develop
-
由 Tao Luo 提交于
test=develop
-
由 LielinJiang 提交于
-
由 Shibo Tao 提交于
* generate dummy file using cmake configure_file function to avoid re-generating it. test=develop * add cmake/dummy.c.in. test=develop
-
- 22 6月, 2020 3 次提交
- 21 6月, 2020 1 次提交
-
-
由 Shibo Tao 提交于
* don't re-generate header file if content doesn't change. test=develop * add copy_if_different function. test=develop
-
- 19 6月, 2020 6 次提交
-
-
由 iducn 提交于
-
由 T8T9 提交于
-
由 Aurelius84 提交于
* Refine caches of converting func test=develop * fix if statement test=develop * refine cache code test=develop * rm unuse import statement test=develop * Polish code comment test=develop
-
由 tianshuo78520a 提交于
-
由 Aurelius84 提交于
* Refine check_type for @declarative test=develop
-
由 Chen Weihang 提交于
-
- 18 6月, 2020 8 次提交
-
-
由 Zhou Wei 提交于
* add new api (set_global_initializer/reset_global_initializer),test=develop * add new api (set_global_initializer/reset_global_initializer),test=develop * fix doc and example code of set_global_initializer,test=develop
-
由 Chen Weihang 提交于
* add for iter var list, test=develop * add enumerate unittest, test=develop
-
由 liym27 提交于
-
由 Jacek Czaja 提交于
* Start implementing int8 eltwise add test=develop * - Fix to Michal PR * - Fix test=develop * - Lint fixes test=develop * - Added checking if elementwise_mul can be used test=develop * - Added attribs to skip_attrs_set test=develop * - Improved broadcasting test=develop - fixes to compilation - fix - fix - Lint fixes test=develop * - removed redundant condition test=develop Co-authored-by: NMichal Gallus <michal.gallus@intel.com>
-
由 Zhaolong Xing 提交于
test=develop
-
由 LielinJiang 提交于
* add relu for lenet, test=develop * fix test model, test=develop
-
由 FlyingQianMM 提交于
-
由 石晓伟 提交于
-
- 17 6月, 2020 5 次提交
-
-
由 liym27 提交于
* The arg of append() can be not Tensor temporarily. * Add Seq2Seq as ProgramTranslator Unit Test. * set dtype of vocab_size_tensor to int64 to pass Windows-CI.
-
由 cc 提交于
-
由 石晓伟 提交于
-
由 Leo Chen 提交于
* fix bug of prelu when rank not equal 4, test=develop * fix prelu inference, test=develop * fix api, test=develop * fix shape when mode is chennel, test=develop * remove debug code, test=develop * add unittest, test=develop
-
由 zlsh80826 提交于
* blockReduce opt * launch threads align to warpSize * reduce unnecessary shared memory for broadcast reduced value * vectorize SoftmaxKernelWithEltadd * add fp16 constrain * test=develop
-
- 16 6月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
As the title
-