Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Wenbing Li 4e0af5c582
A more formal build process and the fixing of unix-like environment. (#39)
* enable directly pip package build.

* some link symbols

* fixing on Windows platform

* update the build instruction

* update the ci pipeline

* Fix the Linux and MacOS build.

* Update mshost.yaml

* updat the ci python version

* update the pipeline

* simplify the instruction.

* update according to the comments.

Co-authored-by: Wenbing Li <wenli@MacM1.local>
2021-01-11 13:44:17 -08:00
TomWildenhain-Microsoft 55e9c4965e
Renamed tf2onnx tutorial (#37)
* Renamed tf2onnx tutorial

* Added file for C++ tutorial
2021-01-08 10:58:29 -08:00
Wenbing Li 2dfd95e64b
rename the package name to onnxruntime-customops (#36)
* normalize the root package name in Python

* fixing build on Linux

* update the tutorial as well
2020-12-22 20:16:30 -08:00
Wenbing Li c7b2f864c6
Add Huggingface GPT2Tokenizer Support (#35)
* initialize a bbpe tokenizer

* add the json library.

* gpt2 tokenizer cpp implementation.

* Tom/add tutorial (#32)

* Added getting started instructions for Windows

Signed-off-by: Tom Wildenhain <tomwi@microsoft.com>

* Created a tutorial for converting models with custom ops. WIP

* Removed long outputs

* Changed to keras syntax and added setup instructions

Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>

* rename gpt2 test case file

* polish the symbol names in the sources

* polish it again.

* fix the build issue on macos

* another fixing

* another fixing 3

Co-authored-by: TomWildenhain-Microsoft <67606533+TomWildenhain-Microsoft@users.noreply.github.com>
2020-12-21 17:12:32 -08:00
TomWildenhain-Microsoft a7b4ff310d
Tom/add tutorial (#32)
* Added getting started instructions for Windows

Signed-off-by: Tom Wildenhain <tomwi@microsoft.com>

* Created a tutorial for converting models with custom ops. WIP

* Removed long outputs

* Changed to keras syntax and added setup instructions

Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>
2020-12-10 16:35:28 -05:00
Wenbing Li e8dcc41497
sync onnxruntime header file with 1.6 rc id: a046ef133aa18bda7b7ec9eeedfec4800f452d45 (#34) 2020-12-04 23:37:53 -08:00
Wenbing Li 01152dfd9d
add the MacOS ci pipeline (#33)
* add the MacOS ci pipeline

* update the doc

* add the missing pool

* Update mshost.yaml for Azure Pipelines
2020-12-02 19:32:12 -08:00
Wenbing Li 8002d94deb
Update README.md 2020-12-02 14:11:28 -08:00
Wenbing Li e65d98479b
Update README.md (#30)
* Update README.md

* Update README.md

* Update README.md
2020-12-01 10:51:50 -08:00
Xavier Dupré 559015501e
Add operator SegmentSum (#29)
Co-authored-by: xavier dupré <xavier.dupre@gmail.com>
2020-11-25 21:15:51 -05:00
Faith Xu bb8132d9f8
Update intro text (#28) 2020-11-24 20:45:58 -08:00
Xavier Dupré d31b364297
Fix StringReplace, Replace Replace by GlobalReplace in C++ (#26) 2020-11-17 01:27:23 +01:00
Xavier Dupré 753b141469
Handle empty delimiter in StringSplit, remove unexpected empty strings (#25)
* add operator StringSplit

* handle empty delimiter, remove empty string

Co-authored-by: xavier dupré <xavier.dupre@gmail.com>
2020-11-16 14:53:58 -05:00
Xavier Dupré db43f413b8
Add operator StringSplit (#24) 2020-11-16 19:05:12 +01:00
Wenbing Li fadcf2ab89
refine the code a little bit (#23)
* refine the codebase

* remove the dup def file

* surface the build error in the build script.

* fix the build break for gcc

* run the test after build in Linux
2020-11-13 15:06:46 -08:00
Xavier Dupré f713deba41
Add operator StringHashToBucket (#16)
* Add operator StringHashToBucket
* Fix string_to_hash_bucket_fast
2020-11-13 01:46:49 +01:00
Wenbing Li 5a3c6295d8
Enable build on Linux (#19)
* enable build on Linux

* move pssetup files into the subfolder

* clean up

* correct the package path

* enable non-python build

* add Linux CI

* Update mshost.yaml for Azure Pipelines

* change to std::complex
2020-11-12 14:59:00 -08:00
Xavier Dupré 07c970b85e
Add operator StringEqual + broadcast (#20)
* Add python version for StringEqual

* Add operator StringEqual

* add missing files

Co-authored-by: xavier dupré <xavier.dupre@gmail.com>
2020-11-12 16:17:50 -05:00
TomWildenhain-Microsoft 1d7bd2b3d2
Tom/casting from py (#17)
* Added getting started instructions for Windows

Signed-off-by: Tom Wildenhain <tomwi@microsoft.com>

* Added casting from python for additional types

* Added error for float16

Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>
2020-11-11 13:14:27 -05:00
Xavier Dupré 2ef88b0bda
Extend StringJoin to support any dimension (#18) 2020-11-10 18:53:24 +01:00
Xavier Dupré 6927998670
Add operator C++ StringRegexReplace (#14)
* Add StringRegexReplace

* fix the target_link issue.

* undo customops dll test.

* simplify the link name

* remove useless test_main files.

Co-authored-by: xavier dupré <xavier.dupre@gmail.com>
Co-authored-by: Wenbing Li <wenbingl@outlook.com>
2020-11-06 15:17:45 -08:00
Wenbing Li 66ddd4a6c9
add re2 library to the source code. (#12) 2020-11-06 13:48:11 +01:00
Xavier Dupré 3ef90b4628
Refactoring, split C++ custom operators into multiple files, add C++ unit test (#8)
* refactoring
* remove useless include
* remove pragma once from cc files
* add custom_op_test.onnx
* remove unnecessary imports, add header in project file, run C++ unit tests
2020-11-03 16:54:06 +01:00
Xavier Dupré e36205ee83
Handles dummy python operators for double and strings (#7)
* refactor tests
* Update mshost.yaml
* Implements dummy operators with double and strings
* udpate CI
* Implements StringUpper C++ version
* Fix runtime issue preventing from registering multiple python ops
* add c++ operator StringJoin
* Support multi output for python and C++ operators
* remove torch in requirements-dev.txt
2020-10-30 11:20:18 +01:00
Wenbing Li 3d13eb867c
add a pytorch custom op example. (#5) 2020-10-23 01:11:11 -07:00
TomWildenhain-Microsoft 451b209f1c
Added getting started instructions for Windows (#4)
Signed-off-by: Tom Wildenhain <tomwi@microsoft.com>

Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>
2020-10-22 20:30:11 -04:00
Wenbing Li 4e05d8a19f
add the test step in the CI pipeline (#3)
* add test step in the pipeline

* pip install ort for test.

* correct the pip cmi

* add onnxconverter-common

* update the requirements.txt

* enable cc_optimize feature.
2020-10-21 10:19:06 -07:00
Wenbing Li db14b90b66
Fixing some build issue and add gtest support (#2)
* enable testing

* add ci pipeline

* update the ci build script

* add numpy support.

* indent

* 3

* fix the space issue.
2020-10-20 18:49:41 -07:00
Wenbing Li 28b2ab1092
ONNXRuntime PyOP support via its custom op APIs (#1)
* WIP: ONNXRuntime PyOP support via its custom op APIs

* fix the build issue with ort 1.5.1 header files.
2020-10-20 12:53:14 -07:00
Wenbing Li da95244190 initial checkins 2020-10-12 10:52:52 -07:00
Microsoft Open Source 126b59b78b Updating README.md to template content 2020-10-05 12:36:46 -07:00
Microsoft Open Source 7601852434 Initial SECURITY.md commit 2020-10-05 12:36:44 -07:00
Microsoft Open Source c0a73ee6ac Updating LICENSE to template content 2020-10-05 12:36:43 -07:00
Microsoft Open Source f1e24d4698 Initial CODE_OF_CONDUCT.md commit 2020-10-05 12:36:41 -07:00
Wenbing Li f048c851af
Initial commit 2020-10-05 12:31:07 -07:00