1. 30 7月, 2020 1 次提交
    • H
      Fix dygraph grad bugs (#25781) · c2a21ca9
      hong 提交于
      * fix double grad visitid unit; test=develop
      
      * change name hash_pair to HashPair; test=develop
      
      * follow comment; test=develop
      c2a21ca9
  2. 29 7月, 2020 8 次提交
  3. 28 7月, 2020 6 次提交
  4. 27 7月, 2020 1 次提交
  5. 24 7月, 2020 4 次提交
  6. 23 7月, 2020 5 次提交
  7. 22 7月, 2020 4 次提交
  8. 21 7月, 2020 4 次提交
  9. 20 7月, 2020 3 次提交
  10. 17 7月, 2020 1 次提交
  11. 16 7月, 2020 2 次提交
    • H
      e362095e
    • H
      Add Support for SelectedRows for Transpose OP and Fix a Bug That SelectedRows... · d8fe517b
      Huihuang Zheng 提交于
      Add Support for SelectedRows for Transpose OP and Fix a Bug That SelectedRows Cannot be Supported in SimNet (#25536)
      
      This PR fixes a bug that SelectedRows cannot be supported in SimNet. The reason of this bug is that dygraph basic_engine didn't copy var's type when the var needs to be accumulated during backward. So when a var is SelectedRows and needs to be accumulated, like SimNet which calls net for two times, the var's type will be changed to default LoDTensor thus bug happens. To fix it, we just also copy the type.
      
      Without this PR, the accumulated SelectedRows parameters in dygraph will be changed into LoDTensor. So when we fixed the bug of supporting SelectedRows in SimNet, we found `test_imperative_lod_tensor_to_selected_rows` failed and threw the error that SelectedRows was not supported for Transpose OP. To fix it, too, this PR also added support for SelectedRows for Transpose OP.
      d8fe517b
  12. 15 7月, 2020 1 次提交