Nice write-up but I believe the time units are wrong, no?
Should at least be “milliseconds” since in the code you multiply the time difference by 1000. But even then I’m not sure the time returned is accurate.
Wouldn’t this return a more accurate time difference:
I’m highly doubting that Raspberry Pi can infer ResNet-152 in 0.9us, yet alone 0.9ms. That’s in GPU territory.