* Update README.md

* Update README.md

* Update README.md
This commit is contained in:
Wenbing Li 2020-12-01 10:51:50 -08:00 коммит произвёл GitHub
Родитель 559015501e
Коммит e65d98479b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -4,10 +4,20 @@ This repository provides a library of add-on custom operators for [ONNX Runtime]
# Getting started
Windows:
- Install Visual Studio with C++ development tools
- Prepare Python env and install the pip packages in the requirements.txt if Python support is needed.
- Copy build.bat to mybuild.bat and edit as needed. You may need to change "Enterprise" to "Community" depending on your Visual Studio version.
- Run mybuild.bat
- cd into `out/Windows/RelWithDebInfo` and run `pip install -e .`
- Run `python test/test_pyops.py` and run the repo root
Linux:
- Install gcc with C++ support, cmake
- Prepare Python env and install the pip packages in the requirements.txt if Python support is needed.
Installation
- cd into `out/<OS_NAME>/RelWithDebInfo` and run `pip install -e .`
Test:
- cd into `out/<OS_NAME>/RelWithDebInfo` and run `./ortcustomops_test`
- cd into the repo root and run `pytest test` if the Python support enabled.
# Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a