Slow Inference Speed When Inferencing Grayscale Images with Modified Benchmark C++ Tool
Content Type: Troubleshooting | Article ID: 000092778 | Last Reviewed: 11/13/2023
Slow inference speed is due to ternary operator's inner loop from modified Benchmark C++ Tool recomputes image for every pixel.
Optimize loop by computing image once per loop.