- 07 3月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 06 3月, 2020 2 次提交
-
-
由 liym27 提交于
* support basic tensor.shape. * Support tensor.shape with dependencies.
-
由 Huihuang Zheng 提交于
1. copy.deepcopy in NameVisitor should be changed to copy.copy to make hash or set work 2. read_context should be type of gast.Load()/gast.AugLoad(), not gast.Load/gast.AugLoad
-
- 05 3月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
Add basic support for while in translating dygraph to static 1. Analysis the variable liveness in class NameVisitor 2. Replace while key word using while_loop API
-
- 04 3月, 2020 2 次提交
-
-
由 Aurelius84 提交于
* Modify the way of inserting newly defined func_nodes test=develop
-
由 Aurelius84 提交于
-
- 03 3月, 2020 1 次提交
-
-
由 songyouwei 提交于
* functional dygraph enable/disable test=develop * use context manager instead test=develop * refine sample code test=develop * rename api & expose to fluid test=develop * fix sample code test=develop
-
- 28 2月, 2020 1 次提交
-
-
由 liym27 提交于
* change dygraph_to_static_output to dygraph_to_static_graph. test=develop * Remove duplicate code. test=develop * Follow comments from Liujie. test=develop * change dygraph_to_static_output to dygraph_to_static_graph. test=develop
-
- 27 2月, 2020 1 次提交
-
-
由 liym27 提交于
* Support fetch and run program in the process of dygraph_to_static_output. test=develop * fix to_source(gast) and remove dygraph API such as Conv2D, Linear. test=develop
-
- 26 2月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
1. Considering functions, I have to change the node type from single value to a set. Because python function is allowed to return different types. The set represent all possible types 2. I added scope_name and scope_type for AstVarScope, because in python functions, variable may have different scope. For example: ``` a = 3 def foo(b): a = 9 return a + b ``` the `a` in `foo` is different to the `a` out of `foo`. Similar to class field. The scope_name will help me to know the function name when static analysis finds a `return` sentence.
-
- 24 2月, 2020 2 次提交
-
-
由 Aurelius84 提交于
* add is_control_flow_if test=develop
-
由 liym27 提交于
* support dygraph to static graph for simple case. * add test for dygraph API recognition. test=develop * support basic to_variable api. test=develop * update dict: dygraph_class_to_static_api * add all tests of dygraph api. test=develop * use gast/astor instead of ast/codegen for the compatibility of PY2 and PY3. test=develop * add arg 'num_flatten_dims' for fc ast node. test=develop * Modify names of class by Camel-Case.
-
- 23 2月, 2020 1 次提交
-
-
由 tianshuo78520a 提交于
-
- 20 2月, 2020 3 次提交
-
-
由 Leo Chen 提交于
-
由 Aurelius84 提交于
* support nested if/else * support to derivate returns the parameter list automatically * polish tranform function of slice * fix modify x.numpy()[i] slice function * support to transform ast.node into callable function * fix get_name_ids bug and add more unittest test=develop * fix requirements.txt test=develop * remove useless import statement test=develop * Fixed version compatibility issues in param of function test=develop * use decorater to test ast_to_func test=develop * add textwrap.dedent for source_code test=develop * polish code comment * fix compatibility with python2 and python3 test=develop * fix gast version error test=develop * fix gast repo test=develop * polish transfer_from_node_type code test=develop * add nested_if_else unittest test=develop * split IfElseTransformer test=develop * specify gast version test=develop * fix ast_to_func root type test=develop
-
由 Huihuang Zheng 提交于
1. Move AstNodeWrapper, StaticAnalysisVisitor to a new python file: static_analysis.py 2. Add basic node var type analysis
-
- 19 2月, 2020 1 次提交
-
-
由 songyouwei 提交于
* Linear use mul op test=develop * fix unittest test=develop
-
- 18 2月, 2020 1 次提交
-
-
由 Aurelius84 提交于
-
- 17 2月, 2020 1 次提交
-
-
由 songyouwei 提交于
* support reset param with None value * add unittest test=develop * update unittest test=develop
-
- 16 2月, 2020 1 次提交
-
-
由 songyouwei 提交于
test=develop
-
- 15 2月, 2020 1 次提交
-
-
由 songyouwei 提交于
test=develop
-
- 13 2月, 2020 2 次提交
-
-
由 Huihuang Zheng 提交于
As the title
-
由 Zeng Jinle 提交于
-
- 10 2月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
This PR provides very basic and simple framework for transforming Dygraph to Static Graph. API names, final outputs are not determined yet. Feel free to modify or add class/function/type when you think the framework is not extendable for you.
-
- 21 1月, 2020 1 次提交
-
-
由 songyouwei 提交于
test=develop
-
- 17 1月, 2020 2 次提交
-
-
由 songyouwei 提交于
* fix circular dependent * try import layers.nn from dygraph test=develop
-
由 songyouwei 提交于
* allow sublayer or param shadow attrs * add unittest test=develop * change remove fn name test=develop
-
- 15 1月, 2020 2 次提交
-
-
由 hong 提交于
* DataParallel state dict don't include _layers.; test=develop * add unitest of data parallel; test=develop * add load state test; test=develop
-
由 songyouwei 提交于
* fix save_dygraph with nonexistent dir test=develop * minor fix test=develop * fix unittest test=develop * fix static save test=develop
-
- 09 1月, 2020 4 次提交
-
-
由 songyouwei 提交于
* use snake_cased Layer name * add named_parameters and named_sublayers api * add include_sublayers param, add unittest test=develop * fix named unittests test=develop * fix unittest test=develop * add api docs test=develop * arg fix test=develop * reserve rnn_impl name_scope for static graph test=develop * fix load static param test=develop * fix load static param test=develop
-
由 zhongpu 提交于
* add clear_gradients for Optimizer, add api description, test=develop * fix optest for optimizer's clear_gradient interface, test=develop * add sample code, test=develop * polish sample code, test=develop
-
由 Leo Chen 提交于
* update layers, test=develop * update layers for resnet, test=develop * fix is_test attr, test=develop * update cycle_gan, test=develop * update reinforcement_learning, test=develop * update ocr, test=develop * fix bug, test=develop
-
由 songyouwei 提交于
* update PRelu arg test=develop * fix unittests test=develop * fix element mode alpha shape test=develop * split channel_or_input_shape arg test=develop * fix unittest test=develop
-
- 08 1月, 2020 2 次提交
-
-
由 zhongpu 提交于
* modify fc to linear in sample code, test=develop * remove FC, test=develop * remove warnings, test=develop * drop fluid/imperative/README.md , test=develop * change fc to linear, test=develop * polish code style, test=develop
-
由 songyouwei 提交于
test=develop
-
- 07 1月, 2020 1 次提交
-
-
由 hong 提交于
* support dygraph structured name; test=develop * add load static param unitest and fix save load; test=develop * fix varBase import error; test=develop * fix unitest error; test=develop * add comment for parameter; test=develop * fix uni test error; test=develop * change parallel se-resnet; test=develop * fix dygraph se resnext parallel test; test=develop * remove useless code; test=develop * remove useless code; test=develop
-
- 06 1月, 2020 1 次提交
-
-
由 songyouwei 提交于
* add dygraph LayerList * add unittest test=develop * add newline test=develop * typo fix test=develop
-
- 02 1月, 2020 1 次提交
-
-
由 songyouwei 提交于
* move private weight properties to public ones test=develop * revert changes to FC test=develop * fix unittest test=develop * fix unittest test=develop * fix coverage test=develop * fix merged dev test=develop * bug fix test=develop
-
- 31 12月, 2019 2 次提交
-
-
由 Zeng Jinle 提交于
* expost fluid.dygraph.TracedLayer apis, test=develop * polish doc, test=develop * follow comments, test=develop, test=document_fix * follow comments, test=develop * remove save_inference_model return value, test=develop
-
由 Leo Chen 提交于
* update layers used in mnist dygraph model, test=develop * fix import issue, test=develop * add dygraph utils, test=develop * add unittest, test=develop
-