Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

299 B
Raw Blame
#include <openvino/runtime/core.hpp>


int main() {
    {
        //! [static_shape]
        ov::Core core;
        auto model = core.read_model("model.xml");
        ov::Shape static_shape = {10, 20, 30, 40};

        model->reshape(static_shape);
        //! [static_shape]
    }

    return 0;
}