1. 17 12月, 2021 1 次提交
    • J
      Support multi place constructor (#38171) · 6f439e5a
      Jiabin Yang 提交于
      * support more eager tensor api
      
      * support multiple constructor for eager tensor
      
      * add place related code
      
      * polish code
      
      * specific randint with dtype of int64
      
      * Support pure cpu test
      
      * refine test in pure cpu
      
      * refine test in pure cpu
      6f439e5a
  2. 15 12月, 2021 1 次提交
    • Z
      Synchronized auto-generated Python-C API with Dygraph Forward Functions (#38017) · 77dfb2e8
      Zhanlue Yang 提交于
      * Rearranged Eager AutoCodeGen directory structure
      
      * Removed USE_OP in Eager AutoCodeGen
      
      * Enabled generation for Operators without Grad/Inputs/Outputs
      
      * Resolved operators without input
      
      * Fixed merge conflicts
      
      * Enabled Eager AutoCodeGen for 10+ more operators
      
      * Refactored Eager AutoCodeGen with more organized helper objects
      
      * Enabled Eager AutoCodeGen for operators with multiple OpBases
      
      * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
      
      * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
      
      * Adjusted function generation/call between Python-C API & Dygraph API
      
      * Synchronized auto-generated Python-C API with Dygraph Forward Functions
      
      * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
      77dfb2e8
  3. 25 11月, 2021 1 次提交
  4. 24 11月, 2021 1 次提交
    • J
      Refactor dygraph to eager -- TensorWrapper, EagerUtils, GlobalUtils (#37466) · 1799c032
      Jiabin Yang 提交于
      * Add EagerTensor and tests
      
      * remove useless enforce
      
      * remove comment in cmake
      
      * support autograd meta
      
      * support grad node info test
      
      * support grad_node_info
      
      * add more edge test
      
      * remove Python.h
      
      * add tensor wrapper with tests
      
      * support compute require grad and stop gradient
      
      * support sync methods and global utils
      
      * support pure cpu test
      
      * refine error msg
      
      * refine error msg
      
      * refine error info
      
      * fix npu error
      1799c032
  5. 23 11月, 2021 1 次提交
  6. 22 11月, 2021 1 次提交
    • J
      Refactor dygraph to eager (#37405) · a258badb
      Jiabin Yang 提交于
      * Add EagerTensor and tests
      
      * remove useless enforce
      
      * remove comment in cmake
      
      * fix test_error
      
      * add depends on python
      
      * Remove python.h
      
      * Merge develop and add Eager tensor with test back
      a258badb
  7. 20 11月, 2021 1 次提交
  8. 19 11月, 2021 1 次提交