onnxruntime/csharp
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
..
sample enable nuget packaging in local builds (#4884) 2020-08-26 12:33:48 -07:00
src Add GetProfilingStartTimeNs() to Python/C# APIs (#5280) 2020-10-14 05:32:43 -07:00
test Add GetProfilingStartTimeNs() to Python/C# APIs (#5280) 2020-10-14 05:32:43 -07:00
testdata Allow sharing of initializers between sessions. (#5092) 2020-09-21 14:09:37 -07:00
tools/Microsoft.ML.OnnxRuntime.PerfTool Use correct protoc tool file name for C# builds (#5429) 2020-10-13 09:43:03 -07:00
Directory.Build.props.in Conditionally export execution provider apis in chsarp (#1724) 2019-09-09 11:17:44 -07:00
Nuget.CSharp.config Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
OnnxRuntime.CSharp.proj Add store builds to nuget packaging (#5040) 2020-09-09 21:38:14 -07:00
OnnxRuntime.CSharp.sln Revert change from RelWithDebInfo to Release in OnnxRuntime.CSharp.sln. 2020-03-12 16:51:45 -07:00
OnnxRuntime.snk Copy System.Numerics.Tensors sources from dotnet/corefx into onnxruntime (#1605) 2019-08-15 17:28:47 -07:00