Files
openvino/docs/snippets/cpu/dynamic_shape.cpp
Ilya Churaev 0c9abf43a9 Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00

17 lines
299 B
C++

#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;
}