**Phase 0:**

   This development phase limits only to TVMCSharp project / module.
TVMCSharp will be built as a C sharp Class Library.

**TVMCSharp Internals:**

![image|690x404](upload://ucuI0GogWaVzqHcCUF5V2Y2RmsT.png) 


**Linking or Binding to Native TVM runtime library:**

    Dotnet framework provides a flexible way to import Native library (TVM 
runtime) to CSharp workspace, shown as below.

![image|608x48](upload://zZSYAqsHEeG8ObglafkAhUP6pAM.png) 

There are multiple challenges while following above approach in terms of data 
forwarding / messaging between CSharp code and Native code, which will be 
solved categorically in an explicit manner.


**API Choices:**

   I have given some thought about it. I think it would be best in the interest 
of an APP developer, to keep the Dotnet API equivalent to Python APIs. This 
will ease for any new user to grasp fast for the usage, as the TVM has many 
examples illustrated in python. If anyone has other opinion, will be happy to 
take up.
      So below i am providing a pseudo code which shows how a typical tvm 
runtime will be used in Dotnet environment.

   ![image|690x150](upload://VtdBm8tHjo5ZjvLt9jneNhLj6Z.png) 

@tqchen, @(Whomsoever interested) Request to provide all you expert opinions.





---
[Visit 
Topic](https://discuss.tvm.ai/t/introducing-tvm-net-for-bringing-tvm-features-into-net-world/6213/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/528a25b9567427ee6c3b148f34acda4e7e678799cd35705019637f45b06521da).

Reply via email to