- 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
-
- 08 11月, 2017 2 次提交
-
-
由 Yu Yang 提交于
* Chage `IndicateDataType` to `GetKernelType`. Make it easier to understand. * Change `OpKernelKey` to `OpKernelType` * Make operator developers can customize which kernel the operator will use in runtime.
-
由 qingqing01 提交于
-
- 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 * Add unittest, Gradient of array read/write * Follow comments
-
- 02 11月, 2017 1 次提交
-
-
由 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
-
- 01 11月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* add shareLod * fix sequence_conv grad infershape
-
- 31 10月, 2017 1 次提交
-
-
由 caoying03 提交于
-
- 29 10月, 2017 2 次提交
- 27 10月, 2017 1 次提交
-
-
由 QI JUN 提交于
* add sparse support for sum op * typo fix * fix gpu build error * fix unittest error * typo fix * infer var type and shape in op_test * follow comments * fix build error * bypass some unittests depend on NetOp
-
- 21 10月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 07 10月, 2017 1 次提交
-
-
由 qiaolongfei 提交于
-
- 05 10月, 2017 2 次提交
-
-
由 Yi Wang 提交于
-
由 Yu Yang 提交于
By shell command ```bash sed -i 's#ifdef PADDLE_ONLY_CPU#ifndef PADDLE_WITH_GPU#g' `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -o -name '*.cu'` sed -i 's#ifndef PADDLE_ONLY_CPU#ifdef PADDLE_WITH_GPU#g' `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -o -name '*.cu'` ```
-
- 01 10月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* fix cond_op_test and add some check to operator.run * tmp * optimize kernel check
-
- 29 9月, 2017 1 次提交
-
-
由 qijun 提交于
-
- 27 9月, 2017 2 次提交
-
-
由 tensor-tang 提交于
-
由 Qiao Longfei 提交于
* init Infershape * add static InferShape interface * refactor add-op infershape * add AttrReader * add all maker's infershape * add all InferShape * add python infer api * add VarDesc interface * add python VarDesc and OpDesc interface * update python code * use infershape function to do shape inference * clean code * do not use pointer * refine code of op_proto_maker * add get_dims to VarDesc * refine the code * remove the dependency from operator to op registry * remove OpProtoAndCheckerMaker from operator * restore complete_add_op * add shape_infer_impl.h * code optimization * remove const return value * add fake BlockDesc class * optimize code * remove infer function in op_info * move InferShapeContextImpl to operator.h * optimize the interface of InferShapeContextBase * add temperary interface of new infershape * change add_op, clip_op, conv2d_op and activation_op * change all operators InferShape * fix SetDim * update cos_sim_op * update crop_op * update lookup_table_op * allocate tensor when call GetDim in InferShapeContext * update modified_huber_loss_op * update rowwise_add_op * update mean_op * update sequence_avg_pool_op * typo * remove old InferShape interface * can compile * fix or unit test * clean code * clean code * remove const before InferShapeContext * change InferenceContextBase to pointer * rename RunTime to Runtime, code clean
-
- 21 9月, 2017 3 次提交
-
-
由 dangqingqing 提交于
-
由 superjom 提交于
-
由 qiaolongfei 提交于
-
- 20 9月, 2017 1 次提交
-
-
由 qiaolongfei 提交于
-
- 19 9月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Also use `const DeviceContext&` all the time, to prevent `const_cast` Fix #4169 Fix #3468 Fix #3475
-
- 14 9月, 2017 3 次提交
-
-
由 dangqingqing 提交于
-
由 qijun 提交于
-
由 dangqingqing 提交于
-
- 13 9月, 2017 2 次提交
-
-
由 dangqingqing 提交于
-
由 qijun 提交于
-
- 08 9月, 2017 1 次提交
-
-
由 qijun 提交于
-
- 04 9月, 2017 3 次提交
- 03 9月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 20 8月, 2017 2 次提交
-
-
由 Yu Yang 提交于
* Add Get/Has methods to OpInfoMap * Add PADDLE_ENFORCE for OpInfo to get field.
-
- 16 8月, 2017 1 次提交
-
-
由 fengjiayi 提交于
-
- 15 8月, 2017 1 次提交
-
-
由 fengjiayi 提交于
-
- 14 8月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 12 8月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 11 8月, 2017 1 次提交
-
-
由 qingqing01 提交于
-