* Updated copyright headers
* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"
This reverts commit 372699ec49.
17 lines
299 B
C++
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;
|
|
}
|