How to get CPU utilization during testing?

后端 未结 0 1441
你的背包
你的背包 2020-12-18 04:24

I want to get the cpu usage during testing for my ML model (during a call to predict). Here is currently what I am doing:

start = p.cpu_percent()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题