OpenVINO 2022.1 has introduced OpenVINO API 2.0. For more information on transition steps from the previous API, see the transition guide
#include <space_to_depth.hpp> enum SpaceToDepthMode { BLOCKS_FIRST, DEPTH_FIRST, };