- 06 12月, 2017 1 次提交
-
-
由 typhoonzero 提交于
-
- 30 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Unify fluid submodules to fluid module Change books just use `import fluid`, not submodules * Remove g_main_program/g_startup_program Use default_main_program/default_startup_program instead * Typo * Add API for switch default program * Two functions: switch_main_program/switch_startup_program * A guard: program_guard. Users can use the `with` statement change default programs * Change unittests in `test_layers` * Fix CI * Fix CI * Fix CI
-
- 28 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Unify fluid submodules to fluid module Change books just use `import fluid`, not submodules * Remove g_main_program/g_startup_program Use default_main_program/default_startup_program instead * Typo * Fix CI
-
- 27 11月, 2017 2 次提交
-
-
由 Yu Yang 提交于
* Restore the param infos in Program.clone() The Program.clone only clone the variables and ops in the program into a new program. However, the information of Parameter is not clone. So we need restore the information of Parameters. Fix #5871 * Follow comments * Fix CI * Fix CI * Fix CI
-
由 Yu Yang 提交于
Change books just use `import fluid`, not submodules
-
- 24 11月, 2017 2 次提交
-
-
由 QI JUN 提交于
* is_training to is_test in dropout op * handle dropout and batch_norm operator when prune pdesc in testing mode * handle dropout and batch_norm operator when prune pdesc in testing mode * add get_inference_program method * fix dropout op * fix ci * test data after each batch training * refine code * refine test_book3 * fix ci * follow comments
-
由 fengjiayi 提交于
* Change all `data_type` in Python to `dtype` * Change `date_type` in C++ to `dtype` * Refine
-
- 21 11月, 2017 1 次提交
-
-
由 Abhinav Arora 提交于
* Improve the initializer Interface for fc, sequence_conv and conv2d layers * Fix some typos in python code * Fix CI
-
- 17 11月, 2017 1 次提交
-
-
由 fengjiayi 提交于
-
- 16 11月, 2017 1 次提交
-
-
由 Yang Yang(Tony) 提交于
* first commit * Python API for while op * Python Unittest for simple while_op forward * fix out to be list * Fix UT * VarType * Fix several bugs * Fix bug * Fix bug * Fix Bug * Fix bug * Fix unittest * Remove debug log * Add comments * add PADDLE_ENFORCE * while_grad_op first commit * Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs * not sure how to setdim of while outputs * push for test * add executor vlog * fix bug of while_op cond * Several enhancement for code 1. Backward always infer shape & infer var type. Since there are RENAME variables will be created when creating backward operator, but their shape & var types are not inferenced. 2. Never use SomePtr-> directly, since every pointer could be nullptr if it is a function return value. Add `detail::Ref` to cast pointer to reference safely. 3. Enhance error message for backward. 4. Infer data type of variable in `sum` and `tensor_write` * Fix bugs of while_op gradient * Fix several bugs of while_op grad * fix fill zeros like * fix 3 >= 3 * fix place holder shouldn't be null * fail on sum op * Fix SumOp of TensorList * clean up * pass while test * fix test_array_write_read * pass sum op * Support int/int64 for fill_constant_batch_size_like * Fix compile
-
- 15 11月, 2017 1 次提交
-
-
由 Helin Wang 提交于
- Removed all main_program and startup_program in the demo. - Using paddle.default_main_program() hides the implementation detail (e.g., using g_main_program) from the user, we can change the implementation in the future much easier.
-
- 14 11月, 2017 2 次提交
-
-
由 Qiao Longfei 提交于
* init commit * change some dir name
-
由 Yu Yang 提交于
* Conditional Block Forward * Assign Operator. Out=X, when type in [LoDTensor/SelectedRows/LoDTensorArray] * Stash * Add Scope::Rename it is useful in gradient phase of an operator with block * ConditionalBlock Grad Done * Add comments * yapf format code
-
- 10 11月, 2017 2 次提交
-
-
由 Yang Yang(Tony) 提交于
* first commit * Python API for while op * Python Unittest for simple while_op forward * fix out to be list * Fix UT * VarType * Fix several bugs * Fix bug * Fix bug * Fix Bug * Fix bug * Fix unittest * Remove debug log * Add comments * add PADDLE_ENFORCE * while_grad_op first commit * Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs * refine code * fix unittest bug
-
由 Dong Zhihong 提交于
-
- 07 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Use stable_sort in lod_rank_table It is easy to debug and test when use `stable_sort`and the time complexity is not changed. * Add LoDTensorArray * Stash * Better debug message for IsInitialized * Stash * Better debug message for IsInitialized * Complete array read/write op unittests
-
- 06 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 05 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 04 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Add LoDRankTable LoD Rank Table stores the `level` of `lod` which is ordered by sequence length in descending order. It is useful when implement dynamic RNN and is shared by dynamic RNN memory, dynamic RNN slice input and dynamic RNN slice output operators. * Add InferVarType
-
- 03 11月, 2017 1 次提交
-
-
由 Dong Zhihong 提交于
-
- 02 11月, 2017 3 次提交
-
-
由 Yu Yang 提交于
* Init commit * Make executor use ProgramDescBind * Change Attribute from BlockDesc to BlockDescBind * Since we will get the program desc in RNN, just BlockDesc is not enough. * Add DeviceContext to Executor API * Rewrite RNN * Pass Python * AddBiasOp does not care num_flatten_dims * Stash * Fix MacOS Compile * Pass RNN forward * add python test * refactor test * Make compile pass * add gradopmaker * First draft done * Polish code * add grad op maker and grad infershape * Polish code * Fix backward.cc bug * Fix infershape * Rename function * add backward test * simplify recurrent test * Update * Pass unittest * Add comments & refine test * Add comments * refactor test * Complete Unittest * fix StepScopes enforce * Remove unused unittest * no type error * Update * Make RNN Pass unittest
-
由 Qiao Longfei 提交于
* optimizer use init_program * create persistable variable * add create_persistable_var to block * optimizer use create_persistable_var * fix prefix * move create_global_persistable_var from Block to LayerHelper * Polish Optimizer initialization code. * Using the LayerHelper to create initialize operator and variables * add_accumulator should use an independent data type * default use param data type for accumulator
-
由 Yang Yang(Tony) 提交于
-
- 01 11月, 2017 2 次提交
-
-
由 Abhinav Arora 提交于
-
由 Abhinav Arora 提交于
-
- 31 10月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* improve unique_name, uniq id is related to prefix * fix join
-
- 30 10月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* add batch_norm_layer * add img_conv_group layer and test * add check to Tensor.type() * forward can run * with backward * change label data time from int32 to int64 * refine code * follow comment
-
- 28 10月, 2017 1 次提交
-
-
由 fengjiayi 提交于
* Add `dump_to_file()` for ProgrameDescBind in pybind * Update * Add utility.py * typo * Fix bugs * Move add_feed/fetch_components to untility.py * Compelete dump * Follow comments * Change output of Prune() from inference to pointer * Expose Prune() to Python * Compelete save/load API of inference model * Fix errors * Debuging * Compelete unit tests * follow comments
-
- 27 10月, 2017 3 次提交
-
-
由 Yu Yang 提交于
* Python API for save/load variables * Polish names
-
由 Abhinav Arora 提交于
* Add regularizer code * Fix code
-
由 fengjiayi 提交于
* compelete restoring program_bind from program_desc * Fix bugs * fix compile errors * fix errors and add unit tests * rename some vars * Follow comments
-
- 26 10月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Init * Stash * Polish SaveLoadOp * Fix CI * Polish code * Save GPU Tensor * Stash * Fix CI
-
- 25 10月, 2017 1 次提交
-
-
由 dzhwinter 提交于
* "add model format design doc" * "add restore function" * "add parse protobuf" * "move necessary information to saver.proto" * "format code" * "add gpu option" * "add lod info" * "add saveop python test wrapper" * "checkpoint reuse save operator" * "rewrite model format design doc" * "async support needed" * "fix run once" * "fix doc based on comments" * "refine based on comments" * "fix based comments" * "remove persistable flag from framework.proto" * "add IndicateDataType to restore op" * "add save test" * "modify save restore code" * "modified the restore logic" * rm checkpoint_op.cc * rm test_checkpoint_op.py * "get inputs outputs name from execution context" * Saving each variable to a independent file * Fix bugs * Rewrite save_restore_op_test with new Python framework * Move `SaveOp` and `RestoreOp` from OpWithKernel to OpBase * Refine unit test of SaveOp and RestoreOp * fix compile errorwq
-
- 24 10月, 2017 3 次提交
-
-
由 Yu Yang 提交于
-
由 Yang Yang(Tony) 提交于
Pass all forward op test
-
由 QI JUN 提交于
* init * ensure ids in lookup table op must be a column vector * add book4 configuration in test_layers * debug test_book4 * add test_word2vec * follow comments * follow comments
-
- 20 10月, 2017 3 次提交
-
-
由 QI JUN 提交于
* add test_fit_a_line * Update * fix persistable bug * fix elementwise add bug * set correct attr for bias op in fc layer * set correct attr for bias op in fc layer * Update 1. Add init_program to hold initializers 2. bug fix * add test_fit_a_line * fix persistable bug * fix elementwise add bug * fix type * add gitignore * Complete fit_a_line test * revert code * Clean up * Revert "revert code" This reverts commit eb1aa015. * Refine * Fix unit test
-
由 fengjiayi 提交于
* Init * unify layer names * Update * Add pool2d layer * Test recognize_digits_conv * Clean up
-
由 Yu Yang 提交于
* Implement FC layer with helper * Update LayerHelper * Add debug string for Python ProtoBuf and Rename `Sync` to `Flush` * Add check of ProtoBuf initialization * Layer wrapper for FC * Fix unittest * Fix CI * Add code generator * AttributeChecker Better error log and speicalize bool Since lots of types can be cast to bool * Complete mlp, fit_a_line * Expose get global scope * Make global scope not thread-safe 1. It is no need to make global scope thread-safe, since it will be invoked in Python main thread. 2. Do not free the global scope when C++ exit. Let the OS free memories, otherwise, we need to handle the destroy dependencies. See https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables * Fix * Implementation of simple conv_2d layer * Stash * Remove private data members in OpRegister * Fix bugs * Stash * Expose FeedFetchList as VarType * Change ProgramDesc not a global variable * Polish code style * Stash * Correct implement BlockDesc destructor * Correct implement BlockDesc destructor * Unify program as parameter name * Fix bugs * Add unittest * Fix unit test error * Remove unused functions * Add clone for Python Program * Working on executor * Stash * Add glog as dependencies of ops * Use VLOG to logging some information is helpful when we debug Paddle * Expose VarDesc::persistable to Python * Test executor * Complete unittest * Polish code * Fix merge error * Follow comment * Polish Python Code
-
- 19 10月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* remove Program.instance * fix test_program.py
-