TensorFlow nerds: If I want to measure Keras model inference time, can I do it by just sticking it in a for loop after a warmup? Or is there some other synchronization I should be doing?
Replying to @PiotrTeterwak
I'd recommend using a callback. Note that the first step of the first epoch will including the time it takes to compile the graph function, so you should exclude it from the average step time computation.
3:12 PM - 1 Oct 2021
0 replies
0 retweets
10 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.