Skip to content
Snippets Groups Projects
  1. Jul 24, 2020
  2. Jul 23, 2020
  3. Jul 22, 2020
  4. Jul 21, 2020
  5. Jul 20, 2020
  6. Jul 19, 2020
    • Li Xinqi's avatar
      Refactor global function signature (#3240) · 7d965b29
      Li Xinqi authored
      * replace FixedTensorDef with Numpy.Def
      
      * oneflow.Numpy.Def demo
      
      * support eager global_function input signature
      7d965b29
    • Li Xinqi's avatar
      Refactor global function signature (#3237) · 65105be4
      Li Xinqi authored
      * replace FixedTensorDef with Numpy.Def
      
      * oneflow.Numpy.Def demo
      65105be4
    • Juncheng's avatar
      Remove if ENABLE_USER_OP (#3236) · 719ccc72
      Juncheng authored
      719ccc72
    • doombeaker's avatar
      refactor UserOpBuilder.Attr method (#3227) · 229b2e71
      doombeaker authored
      
      * remove code in Attr relevant to 'attr_type_name'
      
      * refine Attr call of array_ops.py
      
      * refine Attr call of categorical_ordinal_encode_op.py constant_op.py data_ops.py
      
      * refine Attr call of layers.py loss_ops.py
      
      * refine Attr call in eager_nccl_ops.py  layers.py linalg.py math_ops.py
      
      * refine Attr call in math_ops.py
      
      * refactor Attr call in nn_ops.py
      
      * refactor Attr call in 6 files
      
      one_hot.py
      pad.py
      random_ops.py
      reduce_ops.py
      sort_ops.py
      two_stage_reduce.py
      
      * refactor Attr call in user_data_ops.py
      
      * refactor Attr call in 9 files
      
      user_op_builder.py
      test_reshape.py
      test_TestDataTypeAttr.py
      test_TestListDataTypeAndListShapeAndListStringAttr.py
      test_TestRandomSource.py
      test_TestReshape.py
      test_TestReshape4KeepHeaderOnly.py
      test_TestSourceMultiGpuFixedOutNum.py
      test_user_op_attr_auto_type.py
      
      * remove 3rd argument of Attr method
      
      * reformat
      
      * refactor Attr call in nn_ops.py line 710
      
      * add 'attr_type_name=None' for downward compatibility
      
      * add warning message for deprecated Attr call
      
      Co-authored-by: default avatarYao Chi <yaochi@oneflow.org>
      Co-authored-by: default avatarLi Xinqi <lixinqi2010@gmail.com>
      229b2e71
    • binbinHan's avatar
      replace old api of fix_placement (#3234) · 33f512e6
      binbinHan authored
      33f512e6