nncase/csharp
Curio Yang f0fac5f706
Feature/add preprocess (#940)
* fix type

* add preprocess

* fix resizeimage shape check

* Apply code-format changes

* fix warning

* fix warning

* update json && fix test runner bug

* remove unused file

* revert packages.lock.json

---------

Co-authored-by: yanghaoqi <yanghaoqi_intern@canaan-creative.com>
Co-authored-by: curioyang <curioyang@users.noreply.github.com>
Co-authored-by: 郑启航 <597323109@qq.com>
2023-05-30 17:20:28 +08:00
..
nuget fix Nncase.Simulaotr package windows build 2022-02-16 13:07:59 +08:00
CMakeLists.txt Move stackvm 2022-05-13 17:00:36 +08:00
Nncase.Simulator.Native.proj fix Nncase.Simulaotr package windows build 2022-02-16 13:07:59 +08:00
RuntimeTensor.h Feature/add preprocess (#940) 2023-05-30 17:20:28 +08:00
interpreter.cpp native ci: rename runtime csproj 2022-02-09 19:08:46 +08:00
readme.md Action Nncae.Native 2022-03-31 18:52:49 +08:00
stdprefix.h add csharp runtime export 2022-01-24 10:45:25 +08:00
unixprefix.h add csharp runtime export 2022-01-24 10:45:25 +08:00

readme.md

Build

cd csharp
dotnet build -c Release -p:TargetArchitecture=arm64 # your arch

Pack Single

# rm -rf ~/.nuget/packages/nncase.simulator.native*
# nuget pack nuget/Nncase.Simulator.Native.osx-arm64.nuspec -OutputDirectory ../nupkg
nuget pack nuget/Nncase.Simulator.Native.linux-x64.nuspec -OutputDirectory ../nupkg
nuget pack nuget/Nncase.Simulator.Native.win-x64.nuspec -OutputDirectory ../nupkg
nuget pack nuget/Nncase.Simulator.Native.osx-x64.nuspec -OutputDirectory ../nupkg

Pack All

nuget pack nuget/Nncase.Simulator.Native.nuspec -OutputDirectory ../nupkg

Upload

nuget push Nncase.Simulator.Native.1.0.0.nupkg <apikey> -Source https://www.myget.org/F/zhen8838/api/v3/index.json
nuget push Nncase.Simulator.Native.linux-x64.1.0.0.nupkg <apikey> -Source https://www.myget.org/F/zhen8838/api/v3/index.json
nuget push Nncase.Simulator.Native.osx-arm64.1.0.0.nupkg <apikey> -Source https://www.myget.org/F/zhen8838/api/v3/index.json
nuget push Nncase.Simulator.Native.osx-x64.1.0.0.nupkg <apikey> -Source https://www.myget.org/F/zhen8838/api/v3/index.json
nuget push Nncase.Simulator.Native.win-x64.1.0.0.nupkg <apikey> -Source https://www.myget.org/F/zhen8838/api/v3/index.json

ChangeLog

  1. Ncc Infer Support Multiple Inputs.