API review - FAQ and feedbacks
fs-eire opened this issue · comments
This thread is for API review. Will keep update this thread for FAQ and feedbacks.
FAQ
Q: Why use
loadModel(filePath)
instead of loading model in constructor (like python/C# binding)?
A: a class constructor cannot be made async. We want to support real async in future, so cannot load model in constructor. instead, we use an async functionloadModel()
.
[to be updated]