I was looking at the table presented in Keras Applications and there is a column that says Time (ms) per inference step (CPU) and another for GPU. I did a quick research on the internet and I came across some explanations of what inference time is as we can see 1-here and also 2-here.
1-The inference time is how long is takes for a forward propagation. To get the number of Frames per Second, we divide 1/inference time.
2-In deep learning, inference time is the amount of time it takes for a machine learning model to process new data and make a prediction.
But the explanations are talking about inference time and not Time per inference step, so I was wondering if there is some difference to it? Is this time related to steps_per_epoch or validation_steps from fit
function?
They also mention these two lines in the Keras website :
Time per inference step is the average of 30 batches and 10 repetitions.
Batch size: 32
Does this mean that the Time per inference step is the average time it takes the model to make predictions for each batch of 32 samples as opposed to just one sample?
Thanks in advance!