Skip to content
Snippets Groups Projects
  1. Jul 12, 2021
  2. Jul 11, 2021
  3. Jul 10, 2021
  4. Jul 09, 2021
  5. Jul 08, 2021
  6. Jul 07, 2021
    • Xiaoyu Xu's avatar
      nn.Graph python (#5309) · 0a821433
      Xiaoyu Xu authored
      
      * graph api
      
      * add graph dummy test
      
      * add test
      
      * add recursive module mode
      
      * graph.build test pass
      
      * add detail check on graph inner node
      
      * support config and train
      
      * add repr for debug
      
      * test buffer
      
      * test buffer add
      
      * refine test
      
      * add comment
      
      * refine test
      
      * refactor Node to Block
      
      * add named_state
      
      * refine Graph.named_state()
      
      * add state_tensortuple
      
      * graph._compile()
      
      * add mc session 0
      
      * nn.graph: state tuple to private var; add BlockType; add simple multi client session
      
      * NNGraphIf
      
      * rm old graph.cpp
      
      * nn.graph: add cpp NNGraph; export and call NNGraph
      
      * add comment
      
      * nn.Graph: rm prototype MultiClientSession
      
      * nn.Graph: rm prototype MultiClientSession test
      
      * nn.Graph: add TODO
      
      * nn.Graph: format for review
      
      * nn.Graph: format
      
      * nn.Graph: format
      
      * nn.Graph: pass flake8 check
      
      Co-authored-by: default avatarXinqi Li <lixinqi0703106@163.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: default avatarcheng cheng <472491134@qq.com>
      0a821433
    • Liang Depeng's avatar
      add bernoulli module (#5353) · a28eadca
      Liang Depeng authored
      
      * add bernoulli module
      
      * fix doc test
      
      * add bernoulli functor
      
      * make changes according to review
      
      * refine (#5415)
      
      * fix
      
      Co-authored-by: default avatarBowen Chen <bob2420083992@gmail.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      a28eadca
    • Xiaoyu Zhang's avatar
      Add flow xxx and tensor xxx autotest (#5386) · 41786ad7
      Xiaoyu Zhang authored
      
      * add argmax test
      
      * fix ci error
      
      * fix docstring warning
      
      * fix tensor greater and less bug
      
      * fix conflict
      
      * add test_flow_xxx_against_pytorch func
      
      * add test_flow_tensor_xxx_against_pytorch func
      
      * add test
      
      * fix first comments
      
      * code reuse
      
      * fix comments
      
      * fix comments
      
      * fix conv test bug
      
      * fix conv test bug
      
      * fix comments
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix comment
      
      * fix bug
      
      * fix comment
      
      * fix comment
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * code format
      
      * refine autotest
      
      * fix comments
      
      * fix comments
      
      * fix comment
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      41786ad7
    • Houjiang Chen's avatar
      Dev refactor generator (#5397) · b05dd645
      Houjiang Chen authored
      
      * add random generator
      
      * reformat
      
      * refactor: allow auto generator
      
      * refactor: remove kAUTO, update python api and test
      
      * refactor: use member initializer lists, fix build issue when cpu only
      
      * handle exeception given invalid device
      
      * add dropout functor; add OpExprInterpContext; refactor random_mask_like based on random_generator
      
      * refactor random generator
      
      * Cast explicitily in unpack call to avoid confilt with Optional.
      
      * Refactor generator
      
      * Fix bad merge
      
      * Refine
      
      * Private default generator for each cuda device.
      
      * Fix
      
      * Refactor generator and refine unittest
      
      * add lock; refine testcase
      
      Co-authored-by: default avatarVertexC <bob2420083992@gmail.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      b05dd645