Add license for sources under src/runtime (#904)
author이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Thu, 26 Apr 2018 02:34:08 +0000 (11:34 +0900)
committer최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 <hk0110.choi@samsung.com>
Thu, 26 Apr 2018 02:34:08 +0000 (11:34 +0900)
Related issue: #840, #839

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
29 files changed:
src/runtime/ref/nn/common/CpuExecutor.cpp
src/runtime/ref/nn/common/Logging.cpp
src/runtime/ref/nn/common/NNFWKernels.cpp
src/runtime/ref/nn/common/NNFWKernels.h
src/runtime/ref/nn/common/NNFWKernels.lst
src/runtime/ref/nn/common/OperationsUtils.cpp
src/runtime/ref/nn/common/Utils.cpp
src/runtime/ref/nn/common/include/ActivationFunctor.h
src/runtime/ref/nn/common/include/CpuExecutor.h
src/runtime/ref/nn/common/include/HalInterfaces.h
src/runtime/ref/nn/common/include/Logging.h
src/runtime/ref/nn/common/include/Operations.h
src/runtime/ref/nn/common/include/OperationsUtils.h
src/runtime/ref/nn/common/include/Utils.h
src/runtime/ref/nn/common/operations/Activation.cpp
src/runtime/ref/nn/common/operations/Conv2D.cpp
src/runtime/ref/nn/common/operations/DepthwiseConv2D.cpp
src/runtime/ref/nn/common/operations/internal/optimized/optimized_ops.h
src/runtime/ref/nn/runtime/Callbacks.cpp
src/runtime/ref/nn/runtime/Callbacks.h
src/runtime/ref/nn/runtime/CompilationBuilder.cpp
src/runtime/ref/nn/runtime/CompilationBuilder.h
src/runtime/ref/nn/runtime/ExecutionBuilder.cpp
src/runtime/ref/nn/runtime/ExecutionBuilder.h
src/runtime/ref/nn/runtime/Memory.cpp
src/runtime/ref/nn/runtime/Memory.h
src/runtime/ref/nn/runtime/ModelBuilder.cpp
src/runtime/ref/nn/runtime/ModelBuilder.h
src/runtime/ref/nn/runtime/NeuralNetworks.cpp

index 53cd021..32589eb 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index e012d6d..2c64166 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #include "Logging.h"
 
 namespace android {
index 82bda92..76d7115 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #include "CpuExecutor.h"
 #include "NeuralNetworks.h"
 #include "Operations.h"
index eb00981..be13cbc 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #ifndef __NNFW_KERNELS_H__
 #define __NNFW_KERNELS_H__
 
index f268794..6f1fabd 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 NNFW_KERNEL(convFloat32, bool, 
             (const float* inputData, const Shape& inputShape,
                  const float* filterData, const Shape& filterShape,
index cc1c755..54dc297 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index af624e5..98321f4 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 7e6600e..566f8e4 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 0bd06bf..38f9cc6 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -30,7 +31,6 @@ namespace nn {
 // Information we maintain about each operand during execution that
 // may change during execution.
 struct RunTimeOperandInfo {
-
     // TODO Storing the type here is redundant, as it won't change during execution.
     OperandType type;
     // The type and dimensions of the operand.  The dimensions can
index 3812d62..8707b4c 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 15dc60d..049d676 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #ifndef ANDROID_BASE_LOGGING_H
 #define ANDROID_BASE_LOGGING_H
 
index 047461a..616c553 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 8923ac1..5f9e8ce 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 75aafef..df8f0c6 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 2542a99..c54e0b7 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index c26400a..74281e9 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index a48f9d9..1f75180 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 98a60de..d6a36a8 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 48f498e..e9f011e 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index b37a709..76084a1 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 73685e5..ee8479c 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 91f0a9a..740f731 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index a1a5152..37ad99e 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index d275875..7ddd47b 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index f13a134..13a4ee3 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index d40aca8..d96f922 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 9857dad..77791f8 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 5f42fcb..22eca48 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
index 0cfda24..29cbac9 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
  * Copyright (C) 2017 The Android Open Source Project
  *
  * Licensed under the Apache License, Version 2.0 (the "License");