Updated copyright headers (#15124)
* Updated copyright headers
* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"
This reverts commit 372699ec49.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <openvino/runtime/core.hpp>
|
||||
|
||||
int cpu_Bfloat16Inference0() {
|
||||
int main() {
|
||||
//! [part0]
|
||||
ov::Core core;
|
||||
auto cpuOptimizationCapabilities = core.get_property("CPU", ov::device::capabilities);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <openvino/runtime/core.hpp>
|
||||
|
||||
int cpu_Bfloat16Inference1() {
|
||||
int main() {
|
||||
using namespace InferenceEngine;
|
||||
//! [part1]
|
||||
ov::Core core;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <openvino/runtime/core.hpp>
|
||||
|
||||
int cpu_Bfloat16Inference2() {
|
||||
int main() {
|
||||
using namespace InferenceEngine;
|
||||
//! [part2]
|
||||
ov::Core core;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <openvino/runtime/core.hpp>
|
||||
|
||||
|
||||
int cpu_compiled_model() {
|
||||
int main() {
|
||||
{
|
||||
//! [compile_model_default]
|
||||
ov::Core core;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <openvino/runtime/core.hpp>
|
||||
|
||||
|
||||
int cpu_dynamic_shape() {
|
||||
int main() {
|
||||
{
|
||||
//! [static_shape]
|
||||
ov::Core core;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <openvino/runtime/core.hpp>
|
||||
#include "openvino/runtime/intel_cpu/properties.hpp"
|
||||
|
||||
int cpu_ov_sparse_weights_decompression() {
|
||||
int main() {
|
||||
try {
|
||||
std::string modelPath = "model.xml";
|
||||
std::string device = "CPU";
|
||||
|
||||
Reference in New Issue
Block a user