Skip to content

Commit d2c52d5

Browse files
authored
Use new-style license (#217)
* Use new-style license * Update years in the headers
1 parent 1946614 commit d2c52d5

File tree

96 files changed

+336
-1111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+336
-1111
lines changed

examples/cpp/asynchronous_api/main.cpp

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/*
2-
// Copyright (C) 2024 Intel Corporation
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
*/
2+
* Copyright (C) 2020-2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
165
#include <adapters/openvino_adapter.h>
176
#include <models/detection_model.h>
187
#include <models/results.h>

examples/cpp/synchronous_api/main.cpp

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/*
2-
// Copyright (C) 2018-2024 Intel Corporation
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
*/
2+
* Copyright (C) 2020-2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
165

176
#include <models/detection_model.h>
187
#include <models/input_data.h>

examples/python/asynchronous_api/run.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
#!/usr/bin/env python3
2-
"""
3-
Copyright (C) 2018-2022 Intel Corporation
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
"""
2+
#
3+
# Copyright (C) 2020-2024 Intel Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
176

187
import sys
198

examples/python/serving_api/run.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
#!/usr/bin/env python3
2-
"""
3-
Copyright (C) 2018-2022 Intel Corporation
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
"""
2+
#
3+
# Copyright (C) 2020-2024 Intel Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
176

187
import sys
198

examples/python/synchronous_api/run.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
#!/usr/bin/env python3
2-
"""
3-
Copyright (C) 2018-2022 Intel Corporation
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
"""
2+
#
3+
# Copyright (C) 2020-2024 Intel Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
176

187
import sys
198

examples/python/visual_prompting/run.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
#!/usr/bin/env python3
2-
"""
3-
Copyright (C) 2024 Intel Corporation
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
"""
2+
#
3+
# Copyright (C) 2020-2024 Intel Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
176

187
import argparse
198
import colorsys

examples/python/zsl_visual_prompting/run.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
#!/usr/bin/env python3
2-
"""
3-
Copyright (C) 2024 Intel Corporation
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
"""
2+
#
3+
# Copyright (C) 2020-2024 Intel Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
176

187
import argparse
198
import colorsys

model_api/cpp/adapters/include/adapters/inference_adapter.h

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/*
2-
// Copyright (C) 2021-2024 Intel Corporation
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
*/
2+
* Copyright (C) 2020-2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
165

176
#pragma once
187
#include <functional>

model_api/cpp/adapters/include/adapters/openvino_adapter.h

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/*
2-
// Copyright (C) 2021-2024 Intel Corporation
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
*/
2+
* Copyright (C) 2020-2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
165

176
#pragma once
187
#include <functional>

model_api/cpp/adapters/src/openvino_adapter.cpp

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/*
2-
// Copyright (C) 2021-2024 Intel Corporation
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
*/
2+
* Copyright (C) 2020-2024 Intel Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
165

176
#include "adapters/openvino_adapter.h"
187

0 commit comments

Comments
 (0)