mlearning: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2024-12-20 05:44:24 +01:00 committed by Xiang Xiao
parent efefa6d87d
commit 7220a3bf48
26 changed files with 60 additions and 22 deletions

View file

@ -1,6 +1,8 @@
# ##############################################################################
# apps/mlearning/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
# ##############################################################################
# apps/mlearning/cmsis-nn/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis-nn/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -11,10 +11,10 @@ to add the following function prototypes:
+++ CMSIS_5/CMSIS/NN/Include/arm_nnfunctions_nnabla.h
@@ -0,0 +1,217 @@
+/*
+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
+ * Copyright 2018 Sony Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates.
+ * SPDX-FileCopyrightText: 2018 Sony Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may
+ * not use this file except in compliance with the License.
@ -237,10 +237,10 @@ Sony Corporation added this file to 5.4.0 for these reasons:
+++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_CHW_f32_basic_nonsquare.c
@@ -0,0 +1,207 @@
+/*
+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
+ * Copyright 2018 Sony Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates.
+ * SPDX-FileCopyrightText: 2018 Sony Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may
+ * not use this file except in compliance with the License.
@ -451,10 +451,10 @@ Sony Corporation added this file to 5.4.0 to support the CHW tensor layout
+++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_CHW_q15_basic_nonsquare.c
@@ -0,0 +1,231 @@
+/*
+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
+ * Copyright 2018 Sony Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates.
+ * SPDX-FileCopyrightText: 2018 Sony Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may
+ * not use this file except in compliance with the License.
@ -689,10 +689,10 @@ Sony Corporation added this file to 5.4.0 to support the CHW tensor layout
+++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_CHW_q7_basic_nonsquare.c
@@ -0,0 +1,214 @@
+/*
+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
+ * Copyright 2018 Sony Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates.
+ * SPDX-FileCopyrightText: 2018 Sony Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may
+ * not use this file except in compliance with the License.
@ -910,10 +910,10 @@ Sony Corporation added this file to 5.4.0 to support the CHW tensor layout
+++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_CHW_mat_mult_kernel_q7_q15.c
@@ -0,0 +1,196 @@
+/*
+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
+ * Copyright 2018 Sony Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates.
+ * SPDX-FileCopyrightText: 2018 Sony Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may
+ * not use this file except in compliance with the License.

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/libcmsisdsp/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/libcmsisdsp/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/libcmsisnn/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/cmsis/libcmsisnn/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/darknet/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/darknet/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/libnnablart/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/libnnablart/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
# ##############################################################################
# apps/mlearning/tflite-micro/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/tflite-micro/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################
# apps/mlearning/tflite-micro/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The

View file

@ -1,10 +1,9 @@
/****************************************************************************
* apps/mlearning/tflite-micro/operators/neon/arm_convolve_s8.c
*
* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or
* its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates
* <open-source-office@arm.com>
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.

View file

@ -1,10 +1,9 @@
/****************************************************************************
* apps/mlearning/tflite-micro/operators/neon/arm_elementwise_add_s8.c
*
* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or
* its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates
* <open-source-office@arm.com>
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.

View file

@ -1,10 +1,9 @@
/****************************************************************************
* apps/mlearning/tflite-micro/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c
*
* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or
* its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates
* <open-source-office@arm.com>
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.

View file

@ -1,10 +1,9 @@
/****************************************************************************
* apps/mlearning/tflite-micro/operators/neon/arm_q7_to_q15_with_offset.c
*
* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or
* its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates
* <open-source-office@arm.com>
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.

View file

@ -1,6 +1,8 @@
/****************************************************************************
* apps/mlearning/tflite-micro/tflm_syslog.cc
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/****************************************************************************
* apps/mlearning/tflite-micro/tflm_tool.cc
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The