OpenVINO 2022.1 has introduced OpenVINO API 2.0. For more information on transition steps from the previous API, see the transition guide
#include <grid_sample.hpp> enum PaddingMode { ZEROS, BORDER, REFLECTION, };