pykaldi
pykaldi copied to clipboard
Why all cpu work together
Dear All:
I encountered a problem, I don’t know if it can be avoided.
E.g: NnetLatticeFasterOnlineRecognizer.decode()
, I use it to decode a wav file, and when I call it once,
I find that all the cpu will work together, and through htop
tracking process I found yield
. So I guess there is coroutine mechanism inside?
I want to limit the task to one cpu, How can i do it?
Looking forward to your reply。
Thank you!