- 11 6月, 2020 1 次提交
-
-
由 liym27 提交于
[Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not (#24911) * Support int and long: int or long -> six.integer_types. * Modify test_tensor_shape: fix bug and modify comment. * Support convert_var_shape to convert var.shape stmt * Modify code in ifelse_simple_func.py because don't support return non-Tensor in Tensor-dependent 'if' stament currently. * Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not. test=develop
-
- 10 6月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-
- 09 6月, 2020 1 次提交
-
-
由 liym27 提交于
* Move function 'convert_len' to file convert_operators.py * Support that for statements are transformed to while statements. * Fix bug: raise None -> return None. * Support variable loaded and created in loop. * Use int64 in Py2 and Py3 in function to_static_variable.
-
- 05 6月, 2020 2 次提交
-
-
由 liym27 提交于
* cast var in convert_logical_XX. * Add convert_ifelse function in convert_operators.py * Add logical_transformer. Remove LogicalTransformer from loop_transformer.py * Revert modified tests in PR24799(convert_while_stmt). * Comment and modify code that doesn't support `return` statement. * Remove unnecessary class: MergeAssignTransformer, NodeTestTransformer and IfConditionVisitor in ifelse_transformer.
-
由 Chen Weihang 提交于
* support selectedrows allreduce in multi-cards dygraph, test=develop * remove useless import modules in unittests, test=develop * add nccl cmake to get nccl version, test=develop * add if-condition to compiled correctly, test=develop * add detail version parseing for old nccl, test=develop * polish camke details, test=develop * fix remove test cmake error, test=develop * fix cmake condition, test=develop * change unittest camke list, test=develop * fix unittest cmake rule, test=develop, test=framep0
-
- 03 6月, 2020 3 次提交
-
-
由 Chen Weihang 提交于
* support for iter & enumerate varbase, test=develop * revert IsControlFlowVisitor change, test=develop
-
由 liym27 提交于
* Support return variable in only one of if body or else. * remove after_visit in IfElseTransformer. * Modify the result of get_name_ids in test_ifelse_basic.py * Add unittest to test the new case. * Modify code according to reviews.
-
由 liym27 提交于
* Support convert_while_loop. * Comment code that not supported 'if' in test_break_continue. * Convert int into tensor to support 'if' stmt in for/while loop. * Add unittest to test all cases of convert_logical_XX. * Add unittest to test all cases of convert_while_loop. * Fix bug in LogicalOpTransformer. test=develop
-
- 02 6月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 28 5月, 2020 3 次提交
-
-
由 Aurelius84 提交于
* support nested input and output test=develop * remove code of convert type(output) in unittest test=develop * add warning test=develop
-
由 liym27 提交于
-
由 Zhou Wei 提交于
添加loss自适应的学习率衰减策略。
-
- 27 5月, 2020 2 次提交
-
-
由 Aurelius84 提交于
-
由 Leo Chen 提交于
* Fix bug of different dtype in dygraph math_op_patch, test=develop * support np.dtype and str, test=develop * add unit test, test=develop
-
- 26 5月, 2020 2 次提交
-
-
由 liym27 提交于
-
由 Aurelius84 提交于
* [dy2stat] Support len * add convert_call func * refine code test=develop
-
- 25 5月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* support NHWC in Pool2D, test=develop * add unittest, test=develop * fix unittest, test=develop * fix typo, test=develop * follow comments, test=develop * refine comments, test=develop
-
- 21 5月, 2020 2 次提交
- 20 5月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add scale for static runner outputs, test=develop * fix import relation, test=develop * remove len limit, test=develop
-
- 19 5月, 2020 3 次提交
-
-
由 Aurelius84 提交于
* fix bug with `if Tensor` in is_control_flow test=develop * remove continue test=develop * Support lambda and add unittest test=develop
-
由 liym27 提交于
* Support to create LoDTensorArray in control flow (cond and while_loop) * Fix bug: return LoDTensorArray in while_loop * Change code in list_transformer.py to accommodate the new features.
-
由 Chen Weihang 提交于
-
- 18 5月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* initial test * for enumerate basic implement, test=develop * update unittests, test=develop * refine unittests to adapt new training mode, test=develop * refactor for node stmts parsing code, test=develop * self-review & polish details, test=develop
-
- 15 5月, 2020 3 次提交
-
-
由 Huihuang Zheng 提交于
As the title.
-
由 Chen Weihang 提交于
* fix some print transformer problems, test=develop * simplify writing & avoid bud, test=develop * polish detail, test=develop
-
由 Aurelius84 提交于
* fix convert call globals_funcs test=develop * add import statement test=develop
-
- 14 5月, 2020 2 次提交
-
-
由 Cindy Cai 提交于
* test=develop, test=document_fix * test=develop, test=document_fix Co-authored-by: Nswtkiwi <1208425345@qq.com>
-
由 Huihuang Zheng 提交于
Add assert grammar for ProgramTranslator
-
- 13 5月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* fix bug with `if Tensor` in is_control_flow test=develop * remove continue test=develop
-
- 12 5月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 09 5月, 2020 2 次提交
-
-
由 Aurelius84 提交于
* support save_inference_model in program_translator test=develop * fix compatibility with OrderedDict.values() in python3 test=develop * synchronized random_seed test=develop * Polish Error Message test=develop
-
由 liym27 提交于
* [Dy2Stat] Add test for bert pretraining. * Construct fake data. * Synchronous random seed of program.
-
- 08 5月, 2020 3 次提交
-
-
由 hong 提交于
* fix numpy ndarray mul var base error; test=develop * add comment for __array_ufunc__ ; test=develop * move unitest from imperative math op path to test_math_op_patch_var_base; test=develop
-
由 hong 提交于
* add clean up; test=develop * add import; test=develop
-
由 Aurelius84 提交于
* support to train in static * support to independent decorator * remove in_dygraph_mode condition in ProgramTranslator * fix import param_guard and add train/eval test=develop * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
-
- 06 5月, 2020 2 次提交
-
-
由 liym27 提交于
* Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py * Add comments in ConditionalBlock. * Support list pop last item. * Support pop the i-th item. * Support an empty tensor array as Input in assign op and set the kernel type is float.
-
由 Xing Wu 提交于
* update dygraph.rnn import * update dygraph.rnn import * change unit to cell * fix math equations * fix math equations * fix examples * remove unused import * fix examples
-
- 30 4月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 29 4月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-