chore: inference execution time
Browse files- play_with_endpoint.py +1 -1
play_with_endpoint.py
CHANGED
@@ -84,7 +84,7 @@ for i in range(nb_samples):
|
|
84 |
|
85 |
if verbose or True:
|
86 |
print(
|
87 |
-
f"for {i}-th input, {prediction=} with expected {y_test[i]} in {duration_inference} seconds"
|
88 |
)
|
89 |
|
90 |
# Measure accuracy
|
|
|
84 |
|
85 |
if verbose or True:
|
86 |
print(
|
87 |
+
f"for {i}-th input, {prediction=} with expected {y_test[i]} in {duration_inference:.3f} seconds"
|
88 |
)
|
89 |
|
90 |
# Measure accuracy
|