Skip to content
Snippets Groups Projects
  1. Jul 16, 2021
    • liufengwei0103's avatar
      Input arg modifier return maybe (#5453) · e39e3c62
      liufengwei0103 authored
      
      * modified SetInputArgModifyFn
      
      * Delete the CHECK changes in the assign_op.cpp file
      
      * Format
      
      * Modified the OutputArgModifyFn interface
      
      * add return
      
      * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function
      
      * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function
      
      * OutputArgModifier return maybe part_1
      
      * maybe error stack from CheckAndConstructOp to OutputArgModifier callback function
      
      * input_arg_modifier return maybe
      
      * change lambda for JUST macro
      
      * fix conflicts
      
      Co-authored-by: default avataraishangjj <702572275@qq.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      e39e3c62
  2. Jul 15, 2021
  3. Jul 14, 2021
  4. Jul 13, 2021
  5. Jul 12, 2021
  6. Jul 11, 2021
  7. Jul 10, 2021
    • Luyang's avatar
      Dev maxpool series op 123d (#5244) · a5bee493
      Luyang authored
      
      * add torch maxpool2d cpu kernel implementation
      
      * refine cpu implementation
      
      * op gpu implemetation
      
      * bug-fix
      
      * refine
      
      * add pooling kernel util
      
      * reimplementation of cpu kernel
      
      * gpu kernel implementation
      
      * gpu kernel implementation
      
      * bug fix
      
      * change indice index
      
      * change indice index of grad compute
      
      * add flag: return_indices
      
      * format code
      
      * update inteface param
      
      * add param dilation
      
      * bug-fix
      
      * update padding param
      
      * add maxpool2d test case
      
      * format code
      
      * bug fix
      
      * update tese case
      
      * update sbp of indice
      
      * add code sample
      
      * add new line
      
      * use oneflow_api.BlobDesc
      
      * add op torch maxpool1d
      
      * add sample codes
      
      * change dtype of indice
      
      * add torch maxpool3d interface
      
      * add implementation of maxpool3d
      
      * reformat codes
      
      * add atomic add
      
      * bug-fix
      
      * backward bug fix
      
      * update search index
      
      * format code
      
      * update imterface params
      
      * add sample code of maxpool3d
      
      * refine and add test case
      
      * support ellipsis type slice
      
      * refine
      
      * refine
      
      * support slice assign ellipsis type
      
      * refine
      
      * register fn to localtensor
      
      * merge master
      
      * update maxpooling ops
      
      * refactor maxpool2d op
      
      * add ceil mode testcase
      
      * rm useless code
      
      * refine
      
      * refactor maxpool3d op and test cases
      
      * refine
      
      * add maxpool1d implementation
      
      * simplify params using struct
      
      * fix sbp fn
      
      * del notes
      
      * refine
      
      * refine
      
      * add pooling functional api impl
      
      * refine
      
      * update sbp fn
      
      * refin thread num
      
      * refine
      
      * auto format by CI
      
      * rm bn test for debug
      
      * limit registers num
      
      * remove double dtype
      
      * .
      
      * auto format by CI
      
      * update data type
      
      * refine
      
      * add cuda synchronize and error string capture
      
      * move synchronize placement
      
      * debug all kernel compute
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * auto format by CI
      
      * debug std infinity
      
      * debug
      
      * add numeric utils
      
      * format
      
      * refine
      
      * add reference
      
      * remove useless header
      
      * move namespace to detail
      
      * fix doctest error
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: default avataroneflow-ci-bot <ci-bot@oneflow.org>
      a5bee493