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