onnxruntime/csharp/test
Chun-Wei Chen 2b6b3a2ee6
Add GetProfilingStartTimeNs() to Python/C# APIs (#5280)
* add Python API for getProfilingStartTime

* debug for using Python API

* add in C# api

* use uint intead of uint64_t to prevent warning

* typo for GetProfilingStartTimeNs

* remove const

* Update onnxruntime/python/session.py

Co-authored-by: Pranav Sharma <emailpranav@gmail.com>

* remove unnecessary return

* Add Python unit test

* Add C# unit test and refactor Python test

* use ulong in C# for uint64_t in C++

* remove time.monotonic_ns

* syntax: remove public for inner function

* correct the API's order

* getprofilingstarttime after run

* Correct the right order in NativeMethod.cs

* update order

* nit: remove spaces

* Update csharp/src/Microsoft.ML.OnnxRuntime/InferenceSession.cs

Co-authored-by: Guoyu Wang <62914304+gwang-msft@users.noreply.github.com>

* use the updated function

* add comment about the precision

* add more comments

* add session.py back

* fix flake8

* remove session.py

* Add comments in C, C#, Python APIs about precision

Co-authored-by: Pranav Sharma <emailpranav@gmail.com>
Co-authored-by: Guoyu Wang <62914304+gwang-msft@users.noreply.github.com>
2020-10-14 05:32:43 -07:00
..
Microsoft.AI.MachineLearning.Tests Add cppwinrt and cswinrt tests in windowsai nuget pipeline (#4381) 2020-07-07 09:36:42 -07:00
Microsoft.AI.MachineLearning.Tests.DotNetCore3_0 Add .NET Core 3.0 nuget e2e pipeline tests (#4695) 2020-08-05 13:02:24 -07:00
Microsoft.AI.MachineLearning.Tests.DotNetFramework4_7_2 Add .NET Core 3.0 nuget e2e pipeline tests (#4695) 2020-08-05 13:02:24 -07:00
Microsoft.ML.OnnxRuntime.EndToEndTests Downgrade GCC (#5269) 2020-09-24 21:14:54 -07:00
Microsoft.ML.OnnxRuntime.EndToEndTests.Capi Packaging pipeline changes for VS 2019 (#2711) 2019-12-20 19:53:51 -08:00
Microsoft.ML.OnnxRuntime.Tests Add GetProfilingStartTimeNs() to Python/C# APIs (#5280) 2020-10-14 05:32:43 -07:00