onnxruntime/csharp/test/Microsoft.ML.OnnxRuntime.Tests
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
..
Tensors Support scalar tensors in c# (#4849) 2020-08-25 11:00:33 -07:00
InferenceTest.cs Add GetProfilingStartTimeNs() to Python/C# APIs (#5280) 2020-10-14 05:32:43 -07:00
Microsoft.ML.OnnxRuntime.Tests.csproj enable nuget packaging in local builds (#4884) 2020-08-26 12:33:48 -07:00
OnnxMl.cs Add RelWithDebInfo target to the C# projects so that it correctly finds the native build. (#3839) 2020-05-06 20:01:04 +10:00
OrtIoBindingAllocationTest.cs Expose IOBinding features via C/C++/C# language bindings. (#4646) 2020-08-10 13:33:49 -07:00