-
Notifications
You must be signed in to change notification settings - Fork 682
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move pybind11/Python api to cpython (#8258)
* add tensor_functions * concat py methods * add hash, restore tensor.py * check replacement * refine code, remove commented tensor.py * refine code * remove tensor_functions.h, remove inplace pow(not supported yet), use PyObjectPtr to deal refcnt, replace PyMethodDef[] by vector * refactor_reshape_use_python_c_api * refine * refine * auto format by CI * refactor * auto format by CI * refine * refine * refine * auto format by CI * refine * refine * refine * format * refine * Update oneflow/api/python/framework/tensor_functions.cpp Co-authored-by: Wang Yi <53533850+marigoold@users.noreply.github.com> * refine * refine * refine * auto format by CI * refine Co-authored-by: Houjiang Chen <chenhoujiangcug@gmail.com> Co-authored-by: Flowingsun007 <flowingsun007@163.com> Co-authored-by: oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9a3e2e6
commit a447420
Showing
4 changed files
with
302 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.