1. 09 11月, 2020 1 次提交
  2. 30 10月, 2020 1 次提交
  3. 28 10月, 2020 2 次提交
  4. 27 10月, 2020 5 次提交
  5. 26 10月, 2020 1 次提交
  6. 23 10月, 2020 3 次提交
  7. 22 10月, 2020 2 次提交
    • qq_22305325's avatar
      Dev switch instruction to cfg instruction (#3702) · 40d9b32e
      qq_22305325 提交于
      * fix cfg bug when the package of .proto is none
      
      * remove *cfg.cpp generator
      
      * fix python code format
      
      * Move body of cfg-constructor from proto obj to InitFromProto() primary
      
      * move InitFromProto() & ToProto() to message.h
      
      * add a comment line & remove template.cfg.cpp
      
      * delete a useless word in comment line
      
      * finetune cfg
      
      * fix complier bug at only_cpu mode
      
      * remove useless line
      
      * remove useless line
      
      * remove useless line
      
      * add Instruction.proto to cfg.cmake
      
      * adjust cfg struct
      
      * fintune cfg struct
      
      * fix oneflow.cmake
      
      * fix oneflow.cmake bug
      
      * delete useless line in oneflow.cmake
      Co-authored-by: NShenghang Tsai <jackalcooper@gmail.com>
      Former-commit-id: deb614e8
      40d9b32e
    • D
      logical slice_assign and slice op (#3647) · 8093011e
      daquexian 提交于
      * slice_assign implementation
      
      * new slice op
      
      * check step > 0, add more tests, refine the code
      
      * revert the initializer changes
      
      * remove print
      
      * set y to 0 for partialsum
      
      * check sbp, fix incorrect attr check
      
      * add more tests
      
      * rename slice2->logical_slice
      
      * update tests
      
      * extract common python code into a function
      
      * get_size_in_slice -> GetSizeInSlice, rm unused test file
      
      * minor update about step > 0
      
      * minor update on tests
      
      * add WITH_CUDA guard
      
      * address comments
      
      * split ConstructSliceParams into two functions
      
      * add comments for SliceContext
      
      * remove duplicated registeration
      
      * add TODO comment
      
      * rename slice_assign -> logical_slice_assign, move logical_slice(_assign) to experimental namespace
      
      * logical_slice AlwaysComputeWhenAllOutputsEmpty true -> false
      
      * address comments
      
      * fix tests in eager mode
      
      * BROADCAST -> SPLIT_AXIS_FOR_BROADCAST
      
      * move SPLIT_AXIS_FOR_BROADCAST into anonymous namespace
      
      Former-commit-id: 42ea05c6
      8093011e
  8. 21 10月, 2020 6 次提交
  9. 20 10月, 2020 4 次提交
    • G
      Add Nccl All2All (#3538) · c91145af
      guo ran 提交于
      Co-authored-by: Nguo <guo@example.com>
      Co-authored-by: Nguoran <guoran@oneflow.org>
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: 6c690fe5
      c91145af
    • M
      Add api docs zzk (#3680) · ef02c3ec
      Mardino 提交于
      * add api docs
      
      * fix docs
      
      * add api doc in math_ops
      
      * Change the theme to read_the_docs
      
      * add equation docs in math_add
      
      * add equation docs in sub, mul, addn
      
      * add mod div tanh docs
      
      * add gelu, relu docs
      
      * add sigmoid unsorted_segment_sum api docs
      
      * add unsorted_segment example docs
      
      * add equal to greate_equal example docs
      
      * add logical and example docs
      
      * add other example docs, include squared difference
      
      * add requirements of sphinx_rtd_theme
      
      * delete the requirement of sphinx-material
      
      * use make of format
      
      * add optimizer docs
      
      * add scheduler docs
      
      * fix multiplier docs in warmup
      
      * add api docs for math binary elementwise ops
      
      * add math unary api docs
      
      * fix docs about round
      
      * add api docs for reduce mean
      
      * add api docs for reduce ops
      
      * fix code block for reduce ops
      
      * fix math equation
      
      * fix math equation erf
      
      * add code example for layers
      
      * fix docs in layers
      
      * fix of format
      
      * add warmup module in rst
      
      * fix focs for sbp author:yaochi
      
      * fix details in api docs
      
      * add nn api docs and add optimizer_grad_clip module in rst
      
      * fix details in api docs
      
      * fix details in nn
      
      * add prelu api docs
      
      * add smooth l1 loss api docs
      
      * add api docs for matmul
      
      * add api docs for constant op
      
      * fix docs format in RMSProp
      
      * add api docs for array ops
      
      * add docs for random ops
      
      * add api docs for tensor buffer ops
      
      * fix an error in instance_dims doc
      
      * add api docs for tensor_list_ops
      
      * fix annotation in image_decode
      
      * fix of_format
      
      * fix docs for gather_nd
      
      * fix docs
      
      * fix error in constant op
      
      * fix conflict and little error
      
      * fix index to indices
      
      * fix error and add link
      
      * fix broadcast like example and update flow.scope.placement docs
      Co-authored-by: Ndoombeaker <later@usopp.net>
      Co-authored-by: NShenghang Tsai <jackalcooper@gmail.com>
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: 8d956a42
      ef02c3ec
    • M
      Add attribute "batch_axis_non_change" to `oneflow.transpose` (#3685) · bd0181c8
      Mardino 提交于
      * Try to Delete the check of Batch Axis
      
      * log about op
      
      * fix of_format
      
      * add a attribute for transpose op
      
      * fix format and delete some test code
      
      * fix bug
      
      * add test case and annotation
      
      * add todo
      
      Former-commit-id: f42dd82c
      bd0181c8
    • L
      Dev add api rst (#3695) · d0e2eaf2
      Lyon 提交于
      * update index.rst
      
      * add api docs of flow.typing
      
      * rm placement.rst
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: db31d35f
      d0e2eaf2
  10. 19 10月, 2020 2 次提交
  11. 18 10月, 2020 1 次提交
  12. 17 10月, 2020 2 次提交
  13. 16 10月, 2020 1 次提交
  14. 15 10月, 2020 3 次提交
  15. 14 10月, 2020 6 次提交
    • S
      Parallel run op cases (#3670) · ad897a60
      Shenghang Tsai 提交于
      * add chunk 1
      
      * support chunk at 1 2 5
      
      * fix action="store_true",
      
      * fix --verbose
      
      * run xla and pure cpu only when cuda test succeeds
      
      * rm comment
      
      * add raise
      
      * fix time
      
      * verbose log for parallel
      
      * refactor parallel
      
      * add pass
      
      * test_util don't import tf on top level
      
      * print which file failed
      
      * dont run DEVICE_NUM=2 in parallel
      
      * Revert "test_util don't import tf on top level"
      
      This reverts commit 69507343d9fec93d2f1f7ad629ae4d4ddc91c9e4 [formerly c042afca63d8951c651ba866d90381307828ed1e].
      
      * find free port in parallel run
      
      * add discover
      Co-authored-by: Ntsai <caishenghang@oneflow.org>
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: ff1dcbe2
      ad897a60
    • S
      run xla and pure cpu only when cuda test succeeds (#3679) · b427984e
      Shenghang Tsai 提交于
      
      
      Former-commit-id: 77dd75d5
      b427984e
    • M
      Add broadcast like backward (#3665) · 0f42d85f
      Mardino 提交于
      * add backward in broadcast_like
      
      * fix of_format
      
      * add static cast for attr
      
      * add param for axis
      
      * fix format
      
      * add broadcast_like grad test case
      
      * delete static cast
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: cbcb8b5c
      0f42d85f
    • L
      change url link of api docs (#3677) · 52f0e205
      Lyon 提交于
      Co-authored-by: NShenghang Tsai <jackalcooper@gmail.com>
      Former-commit-id: 2ae6f32f
      52f0e205
    • G
      fix softmax (#3675) · f927dc43
      guo ran 提交于
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: 40ca3eca
      f927dc43
    • M
      Add api docs zzk (#3587) · 7462880e
      Mardino 提交于
      * add api docs
      
      * fix docs
      
      * add api doc in math_ops
      
      * Change the theme to read_the_docs
      
      * add equation docs in math_add
      
      * add equation docs in sub, mul, addn
      
      * add mod div tanh docs
      
      * add gelu, relu docs
      
      * add sigmoid unsorted_segment_sum api docs
      
      * add unsorted_segment example docs
      
      * add equal to greate_equal example docs
      
      * add logical and example docs
      
      * add other example docs, include squared difference
      
      * add requirements of sphinx_rtd_theme
      
      * delete the requirement of sphinx-material
      
      * use make of format
      
      * add optimizer docs
      
      * add scheduler docs
      
      * fix multiplier docs in warmup
      
      * add api docs for math binary elementwise ops
      
      * add math unary api docs
      
      * fix docs about round
      
      * add api docs for reduce mean
      
      * add api docs for reduce ops
      
      * fix code block for reduce ops
      
      * fix math equation
      
      * fix math equation erf
      
      * add code example for layers
      
      * fix docs in layers
      
      * fix of format
      
      * add warmup module in rst
      
      * fix focs for sbp author:yaochi
      
      * fix details in api docs
      
      * add nn api docs and add optimizer_grad_clip module in rst
      
      * fix details in api docs
      
      * fix details in nn
      
      * add prelu api docs
      
      * add smooth l1 loss api docs
      
      * add api docs for matmul
      
      * add api docs for constant op
      
      * fix docs format in RMSProp
      
      * add api docs for array ops
      
      * add docs for random ops
      
      * add api docs for tensor buffer ops
      
      * fix an error in instance_dims doc
      
      * add api docs for tensor_list_ops
      
      * fix annotation in image_decode
      
      * fix of_format
      
      * fix docs for gather_nd
      
      * fix docs
      
      * fix error in constant op
      
      * fix conflict and little error
      
      * fix index to indices
      Co-authored-by: Ndoombeaker <later@usopp.net>
      Co-authored-by: NShenghang Tsai <jackalcooper@gmail.com>
      Co-authored-by: Noneflow-bot <69100618+oneflow-bot@users.noreply.github.com>
      Former-commit-id: 2fa74232
      7462880e