1. 20 2月, 2022 1 次提交
  2. 19 2月, 2022 1 次提交
    • A
      [Pten]Unify paddle/pten::framework::ddim into pten::ddim (#39614) · 2fe04264
      Aurelius84 提交于
      * Unify paddle/pten::framework::ddim into pten::ddim
      
      * fix paddle namespace
      
      * compile sucessfully
      
      * fix npu src file
      
      * fix conflict
      
      * fix conflict
      
      * fix tensorrt compiler error
      
      * fix conflict
      
      * fix conflict
      
      * fix tesst file conflict
      
      * fix conflict
      
      * fix mlu file conflict
      
      * fix mlu file conflict
      
      * fix cinn header file conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      2fe04264
  3. 14 2月, 2022 1 次提交
  4. 13 1月, 2022 1 次提交
  5. 14 12月, 2021 1 次提交
  6. 19 11月, 2020 1 次提交
  7. 13 8月, 2020 1 次提交
    • L
      [OpDevOptimize] Add common infershape functions (#26096) · ffe52b44
      Leo Chen 提交于
      * add unchaged infershape function
      
      * add broadcast infershape function
      
      * fix bug
      
      * rename infershape functions
      
      * add UnaryOpUnchangedInferShapeCheckAxis
      
      * add error message
      
      * add test for common infer shape functions
      
      * dont update existed ops
      
      * dont update op_desc.h
      
      * add more test
      
      * add error check, refine error message
      ffe52b44
  8. 29 11月, 2019 1 次提交
    • H
      Add dygraph execution context (#20157) · ac854670
      hong 提交于
      * add_dygraph_execution_context
      
      * add dygraph infershape context and execution context; test=develop
      
      * fix imperative bug; test=develop
      
      * remove inputs outputs interface from execution context,
      because it have same function with inputNames;
      test=develop
      
      * remove tracer_test ctest; test=develop
      
      * fix split op bug; test=develop
      
      * fix unitests bug; test=develop
      
      * fix distribute test bug; test=develop
      
      * fix ngraph compile bug; test=develop
      
      * fix grad maker bug; test=develop
      
      * fix load op bugs; test=develop
      
      * fix operator.cc construct bug; test=develop
      
      * remove useless name find in operator; test=develop
      
      * add tracer_test; test=develop
      
      * fix concat, split bug; test=develop
      
      * remove tracer_test unitest; test=develop
      
      * fix attribute check bug; test=develop
      
      * add test code to fix converage; test=develop
      
      * remove useless code, change check backward input in engin; test=develop
      
      * unlock var type infer shape;test=develop
      
      * add ShareAllLoD api; test=develop
      
      * add dygraph infershape context unitest; test=develop
      
      * remove increase and decrease lod in dygraph; test=develop
      
      * addd override; test=develop
      
      * fix increase descrease lod; test=develop
      
      * fix paddle_enforce; test=develop
      
      * disable lod op dygraph check; test=develop
      
      * fix paddle enforce error; test=develop
      
      * add comment for op_registry and OperatorBase; test=develop
      
      * optimize the comment of op_registry; test=develop
      
      * fix format of comment; test=develop
      
      * fix format of comment; test=develop
      
      * optimize the format of comment; test=develop
      
      * optimize the format of the comment; test=develop
      
      * optimize comment of op_registry; test=develop
      ac854670
  9. 11 11月, 2019 1 次提交
    • Y
      Add the check of lod_level between compile-time and runtime. (#20961) · 35f17ae2
      Yiqun Liu 提交于
      * Add the check of lod_level between compile-time and runtime.
      test=develop
      
      * Fix bug in check_compile_vs_runtime.
      test=develop
      
      * Fix the check of output when it is dispensiable or intermediate.
      test=develop
      
      * Share lod of x to out in match_matrix_tensor op in compile-time.
      
      * Implement GetLoDLevel in InferShapeContext.
      
      * Set the default value of check_compile_vs_runtime to False and enable it in test_sequence_pad_op.
      test=develop
      
      * Enable check_compile_vs_runtime in test_match_matrix_tensor.
      
      * Add the implementation of SetLoDLevel in InferShapeContext.
      
      * Remove the implementation of IncreaseLoDLevel and call Get/SetLoDLevel instead.
      
      * Remove the implementation of DecreaseLoDLevel and call Set/GetLoDLevel instead.
      
      * Refine some ops and unittests.
      test=develop
      
      * Fix a typo.
      test=develop
      
      * Remove the check of var type, and change int to int32_t.
      test=develop
      
      * Add unittest for Get/SetLoDLevel.
      test=develop
      35f17ae2
  10. 29 10月, 2019 1 次提交
    • Y
      Check and correct the output's lod_level in DynamicRNN related operators (#19144) · 6fcfd32e
      Yiqun Liu 提交于
      * Refine the InferShape of ReadFrom and WriteTo op, and add comment to explain why not call ShareLoD for runtime.
      test=develop
      
      * Add comment for ReorderLoDTensorByRank op.
      
      * Add comment for lod_tensor_to_tensor_array op to explain why only call DecreaseLoDLevel for compile time.
      test=develop
      
      * ShrinkRNNMemory op should call ShareLoD for compile time.
      test=develop
      
      * Add the implementation of IncreaseLoDLevel and add the compile-time check of lod_level in InferShape of sequence_pool.
      test=develop
      
      * Refine the unittest of DynamicRNN.
      test=develop
      
      * Change PADDLE_ENFORCE to PADDLE_ENFORCE_NE.
      test=develop
      6fcfd32e
  11. 20 12月, 2018 1 次提交
  12. 19 12月, 2018 4 次提交
  13. 12 12月, 2018 1 次提交
  14. 28 11月, 2018 1 次提交
  15. 26 10月, 2018 1 次提交
  16. 10 10月, 2018 1 次提交
    • C
      Set the right shape of selected_rows (#13723) · e1761709
      chengduo 提交于
      * set the right shape of selected_rows
      test=develop
      
      * enhance check
      
      * fix activation_op
      
      * remove cast
      
      * use ShareDimInfo replace SetDim and ShareLod
      
      * use ShareDimAndLod
      test=develop
      
      * follow comment
      
      test=develop
      
      * check whether the input has lod
      test=develop
      
      * Split ShareDimAndLod
      
      test=develop
      
      * checkout clip.py
      test=develop
      e1761709
  17. 08 10月, 2018 1 次提交
  18. 21 9月, 2018 1 次提交
  19. 10 5月, 2018 1 次提交
  20. 19 4月, 2018 1 次提交
  21. 13 2月, 2018 1 次提交
    • A
      Separate VarType from VarDesc in framework.proto and fix all related compiler errors (#8414) · fcadb452
      Abhinav Arora 提交于
      * Refine Type system
      
      * Fixing type inference
      
      * Fixed create_reader_op.cc
      
      * Fix var_desc.h
      
      * Fixed executor.cc
      
      * Fix shape_inference.h
      
      * Fixed create_reader_op.cc
      
      * Fix tensor_util.h
      
      * Fixed var_type_inference_test.cc
      
      * Fix shape_inference.cc
      
      * Fixed sum_op.c
      
      * Fixed read_op.cc
      
      * Fix var_type.h
      
      * Fixed beam_search_decode_op.cc
      
      * sendrecvop_utils.cc
      
      * Fix operator.cc
      
      * Fixed lookup_table_op.cc
      
      * Fixed op_desc.cc
      
      * Fixed get_places_op.cc
      
      * Fixed lod_rank_table_op.cc
      
      * Fixed beam_search_op.cc
      
      * Fix var_desc.cc
      
      * Fixed lod_tensor_to_array_op.cc
      
      * Fixed while_op.cc
      
      * Fix program_desc_test.cc
      
      * tensor_array_read_write_op.cc
      
      * Fix assign_op.cc
      
      * Fix executor.cc
      
      * Fix protobuf.cc
      
      * Fix protobuf.cc
      fcadb452
  22. 12 2月, 2018 1 次提交
  23. 10 2月, 2018 2 次提交
  24. 06 2月, 2018 2 次提交
  25. 02 2月, 2018 2 次提交
  26. 20 12月, 2017 1 次提交
  27. 30 11月, 2017 1 次提交
  28. 16 11月, 2017 1 次提交
    • Y
      feature/while_grad_op (#5554) · 18f0c40a
      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
      18f0c40a
  29. 07 11月, 2017 1 次提交
    • Y
      Add unittest, backward of array read/write op (#5409) · 6cde889b
      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
      6cde889b
  30. 01 11月, 2017 1 次提交
  31. 29 10月, 2017 1 次提交
  32. 13 10月, 2017 1 次提交
  33. 07 10月, 2017 2 次提交