com.github.asus4.onnxruntime 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/Editor/OrtBuildHelper.cs +0 -41
  2. package/Editor/OrtPostProcessBuild.cs +5 -4
  3. package/Plugins/Linux/x64/libonnxruntime.so +0 -0
  4. package/Plugins/Linux/x64/libonnxruntime.so.meta +81 -0
  5. package/Plugins/Linux/x64.meta +8 -0
  6. package/Plugins/Linux.meta +8 -0
  7. package/Plugins/Windows/x64/onnxruntime.dll +0 -0
  8. package/Plugins/Windows/x64/onnxruntime.dll.meta +81 -0
  9. package/Plugins/Windows/x64.meta +8 -0
  10. package/Plugins/Windows.meta +8 -0
  11. package/Runtime/AssemblyInfo.shared.cs +12 -0
  12. package/Runtime/Microsoft.ML.OnnxRuntime.csproj +370 -0
  13. package/Runtime/Microsoft.ML.OnnxRuntime.csproj.meta +7 -0
  14. package/Runtime/Microsoft.ML.OnnxRuntime.sln +25 -0
  15. package/Runtime/Microsoft.ML.OnnxRuntime.sln.meta +7 -0
  16. package/Runtime/NativeMethods.shared.cs +12 -0
  17. package/Runtime/SessionOptions.shared.cs +12 -0
  18. package/Runtime/com.github.asus4.onnxruntime.asmdef +7 -1
  19. package/ThirdPartyNotices.txt +6266 -0
  20. package/ThirdPartyNotices.txt.meta +7 -0
  21. package/package.json +1 -3
  22. package/Editor/OrtPreProcessBuild.cs +0 -36
  23. package/Editor/OrtPreProcessBuild.cs.meta +0 -11
  24. /package/Plugins/iOS~/{onnxruntime.xcframework/Info.plist → Info.plist} +0 -0
  25. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/coreml_provider_factory.h +0 -0
  26. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/cpu_provider_factory.h +0 -0
  27. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_c_api.h +0 -0
  28. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_cxx_api.h +0 -0
  29. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_cxx_inline.h +0 -0
  30. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_float16.h +0 -0
  31. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Info.plist +0 -0
  32. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/onnxruntime +0 -0
  33. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/coreml_provider_factory.h +0 -0
  34. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/cpu_provider_factory.h +0 -0
  35. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_c_api.h +0 -0
  36. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_cxx_api.h +0 -0
  37. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_cxx_inline.h +0 -0
  38. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_float16.h +0 -0
  39. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Info.plist +0 -0
  40. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/onnxruntime +0 -0
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 8416aa12408574ff18cf0421aed0bdbf
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/package.json CHANGED
@@ -9,7 +9,5 @@
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "unity": "2022.3",
11
11
  "unityRelease": "0f1",
12
- "version": "0.1.2",
13
- "type": "library",
14
- "hideInEditor": false
12
+ "version": "0.1.4"
15
13
  }
@@ -1,36 +0,0 @@
1
- using UnityEngine;
2
- using UnityEditor;
3
- using UnityEditor.Build;
4
- using UnityEditor.Build.Reporting;
5
-
6
- namespace Microsoft.ML.OnnxRuntime.Editor
7
- {
8
- /// <summary>
9
- /// Custom pre-process build for ONNX Runtime
10
- /// </summary>
11
- public class OrtPreProcessBuild : IPreprocessBuildWithReport
12
- {
13
- public int callbackOrder => 0;
14
-
15
- public void OnPreprocessBuild(BuildReport report)
16
- {
17
- switch (report.summary.platform)
18
- {
19
- case BuildTarget.iOS:
20
- OrtBuildHelper.AddDefine(NamedBuildTarget.iOS, "__IOS__", "__ENABLE_COREML__");
21
- break;
22
- case BuildTarget.Android:
23
- OrtBuildHelper.RemoveDefine(NamedBuildTarget.Android, "__ENABLE_COREML__");
24
- OrtBuildHelper.AddDefine(NamedBuildTarget.Android, "__ANDROID__");
25
- break;
26
- case BuildTarget.StandaloneOSX:
27
- OrtBuildHelper.AddDefine(NamedBuildTarget.Standalone, "__ENABLE_COREML__");
28
- break;
29
- // TODO: Add support for other platforms
30
- default:
31
- Debug.Log("OnnxPreProcessBuild.OnPreprocessBuild for target " + report.summary.platform + " is not supported");
32
- break;
33
- }
34
- }
35
- }
36
- }
@@ -1,11 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 191d9b6116a4846f0bdcf0f52c9fe816
3
- MonoImporter:
4
- externalObjects: {}
5
- serializedVersion: 2
6
- defaultReferences: []
7
- executionOrder: 0
8
- icon: {instanceID: 0}
9
- userData:
10
- assetBundleName:
11
- assetBundleVariant: