From 569d6b5de1fda4151b26c2ca4ccef8107bf699d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Fri, 21 Sep 2018 13:08:23 +0900 Subject: [PATCH] [nnkit] Add lincense notice (#1618) This commit adds license notice for all the headers and sources. Signed-off-by: Jonghyun Park --- contrib/nnkit/actions/HDF5/Common.cpp | 16 ++++++++++++++++ contrib/nnkit/actions/HDF5/Common.h | 16 ++++++++++++++++ contrib/nnkit/actions/HDF5/Export.cpp | 16 ++++++++++++++++ contrib/nnkit/actions/HDF5/Import.cpp | 16 ++++++++++++++++ contrib/nnkit/actions/builtin/Randomize.cpp | 16 ++++++++++++++++ contrib/nnkit/actions/builtin/Show.cpp | 16 ++++++++++++++++ contrib/nnkit/backends/caffe/Module.cpp | 16 ++++++++++++++++ contrib/nnkit/backends/tflite/Backend.cpp | 16 ++++++++++++++++ contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.cpp | 16 ++++++++++++++++ contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.h | 16 ++++++++++++++++ .../contrib/nnsuite/conv/caffe/ConvBackend.test.cpp | 16 ++++++++++++++++ contrib/nnkit/contrib/nnsuite/conv/caffe/Entry.cpp | 16 ++++++++++++++++ .../nnkit/contrib/nnsuite/conv/tflite/ConvBackend.cpp | 16 ++++++++++++++++ contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.h | 16 ++++++++++++++++ .../contrib/nnsuite/conv/tflite/ConvBackend.test.cpp | 16 ++++++++++++++++ contrib/nnkit/contrib/nnsuite/conv/tflite/Entry.cpp | 16 ++++++++++++++++ contrib/nnkit/libs/intf/action/include/nnkit/Action.h | 16 ++++++++++++++++ contrib/nnkit/libs/intf/backend/include/nnkit/Backend.h | 16 ++++++++++++++++ .../libs/intf/cmdline/include/nnkit/CmdlineArguments.h | 16 ++++++++++++++++ .../nnkit/libs/intf/tensor/include/nnkit/TensorContext.h | 16 ++++++++++++++++ .../support/caffe/include/nnkit/support/caffe/Backend.h | 16 ++++++++++++++++ .../caffe/include/nnkit/support/caffe/BlobContext.h | 16 ++++++++++++++++ .../caffe/include/nnkit/support/caffe/InputBlobContext.h | 16 ++++++++++++++++ .../include/nnkit/support/caffe/OutputBlobContext.h | 16 ++++++++++++++++ .../caffe/include/nnkit/support/caffe/TensorContext.h | 16 ++++++++++++++++ .../include/nnkit/support/tflite/AbstractBackend.h | 16 ++++++++++++++++ .../tflite/include/nnkit/support/tflite/TensorContext.h | 16 ++++++++++++++++ .../tflite/include/nnkit/support/tflite/TensorSet.h | 16 ++++++++++++++++ .../tflite/include/nnkit/support/tflite/TensorSets.h | 16 ++++++++++++++++ .../tflite/include/nnkit/support/tflite/TensorUtils.h | 16 ++++++++++++++++ contrib/nnkit/libs/support/tflite/src/Backend.cpp | 16 ++++++++++++++++ contrib/nnkit/libs/support/tflite/src/TensorContext.cpp | 16 ++++++++++++++++ contrib/nnkit/libs/support/tflite/src/TensorUtils.cpp | 16 ++++++++++++++++ contrib/nnkit/tools/nni/nni.cpp | 16 ++++++++++++++++ 34 files changed, 544 insertions(+) diff --git a/contrib/nnkit/actions/HDF5/Common.cpp b/contrib/nnkit/actions/HDF5/Common.cpp index 9403136..3b898fc 100644 --- a/contrib/nnkit/actions/HDF5/Common.cpp +++ b/contrib/nnkit/actions/HDF5/Common.cpp @@ -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 "Common.h" std::string mangle(const std::string &name) diff --git a/contrib/nnkit/actions/HDF5/Common.h b/contrib/nnkit/actions/HDF5/Common.h index de41637..0e61143 100644 --- a/contrib/nnkit/actions/HDF5/Common.h +++ b/contrib/nnkit/actions/HDF5/Common.h @@ -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 __COMMON_H__ #define __COMMON_H__ diff --git a/contrib/nnkit/actions/HDF5/Export.cpp b/contrib/nnkit/actions/HDF5/Export.cpp index a307bf1..28cc39f 100644 --- a/contrib/nnkit/actions/HDF5/Export.cpp +++ b/contrib/nnkit/actions/HDF5/Export.cpp @@ -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 "Common.h" #include diff --git a/contrib/nnkit/actions/HDF5/Import.cpp b/contrib/nnkit/actions/HDF5/Import.cpp index 0168f2f..e66ab73 100644 --- a/contrib/nnkit/actions/HDF5/Import.cpp +++ b/contrib/nnkit/actions/HDF5/Import.cpp @@ -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 "Common.h" #include diff --git a/contrib/nnkit/actions/builtin/Randomize.cpp b/contrib/nnkit/actions/builtin/Randomize.cpp index 2c9e59d..ae4aeec 100644 --- a/contrib/nnkit/actions/builtin/Randomize.cpp +++ b/contrib/nnkit/actions/builtin/Randomize.cpp @@ -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 #include diff --git a/contrib/nnkit/actions/builtin/Show.cpp b/contrib/nnkit/actions/builtin/Show.cpp index cf5c30b..d4ade55 100644 --- a/contrib/nnkit/actions/builtin/Show.cpp +++ b/contrib/nnkit/actions/builtin/Show.cpp @@ -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 #include diff --git a/contrib/nnkit/backends/caffe/Module.cpp b/contrib/nnkit/backends/caffe/Module.cpp index 5c12e0f..613aae1 100644 --- a/contrib/nnkit/backends/caffe/Module.cpp +++ b/contrib/nnkit/backends/caffe/Module.cpp @@ -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 "nnkit/support/caffe/Backend.h" #include diff --git a/contrib/nnkit/backends/tflite/Backend.cpp b/contrib/nnkit/backends/tflite/Backend.cpp index 2250115..ee11f73 100644 --- a/contrib/nnkit/backends/tflite/Backend.cpp +++ b/contrib/nnkit/backends/tflite/Backend.cpp @@ -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 "nnkit/support/tflite/AbstractBackend.h" #include diff --git a/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.cpp b/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.cpp index 3fffcb1..d894972 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.cpp +++ b/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.cpp @@ -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 "ConvBackend.h" #include diff --git a/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.h b/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.h index 5e2938d..3701180 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.h +++ b/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.h @@ -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 __CONV_BACKEND_H__ #define __CONV_BACKEND_H__ diff --git a/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.test.cpp b/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.test.cpp index 78d5202..87b8b32 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.test.cpp +++ b/contrib/nnkit/contrib/nnsuite/conv/caffe/ConvBackend.test.cpp @@ -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 "ConvBackend.h" #include diff --git a/contrib/nnkit/contrib/nnsuite/conv/caffe/Entry.cpp b/contrib/nnkit/contrib/nnsuite/conv/caffe/Entry.cpp index 1b9e573..1411fb4 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/caffe/Entry.cpp +++ b/contrib/nnkit/contrib/nnsuite/conv/caffe/Entry.cpp @@ -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 "ConvBackend.h" #include diff --git a/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.cpp b/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.cpp index 6d57a7e..0662f77 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.cpp +++ b/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.cpp @@ -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 "ConvBackend.h" #include diff --git a/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.h b/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.h index 5b11f1a..b01f428 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.h +++ b/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.h @@ -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 __CONV_BACKEND_H__ #define __CONV_BACKEND_H__ diff --git a/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.test.cpp b/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.test.cpp index 07b4dce..38e291e 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.test.cpp +++ b/contrib/nnkit/contrib/nnsuite/conv/tflite/ConvBackend.test.cpp @@ -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 "ConvBackend.h" #include diff --git a/contrib/nnkit/contrib/nnsuite/conv/tflite/Entry.cpp b/contrib/nnkit/contrib/nnsuite/conv/tflite/Entry.cpp index cf20878..af9f147 100644 --- a/contrib/nnkit/contrib/nnsuite/conv/tflite/Entry.cpp +++ b/contrib/nnkit/contrib/nnsuite/conv/tflite/Entry.cpp @@ -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 "ConvBackend.h" #include diff --git a/contrib/nnkit/libs/intf/action/include/nnkit/Action.h b/contrib/nnkit/libs/intf/action/include/nnkit/Action.h index a51440e..d283502 100644 --- a/contrib/nnkit/libs/intf/action/include/nnkit/Action.h +++ b/contrib/nnkit/libs/intf/action/include/nnkit/Action.h @@ -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 __NNKIT_ACTION_H__ #define __NNKIT_ACTION_H__ diff --git a/contrib/nnkit/libs/intf/backend/include/nnkit/Backend.h b/contrib/nnkit/libs/intf/backend/include/nnkit/Backend.h index 4bcc80e..a3ab971 100644 --- a/contrib/nnkit/libs/intf/backend/include/nnkit/Backend.h +++ b/contrib/nnkit/libs/intf/backend/include/nnkit/Backend.h @@ -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 __NNKIT_BACKEND_H__ #define __NNKIT_BACKEND_H__ diff --git a/contrib/nnkit/libs/intf/cmdline/include/nnkit/CmdlineArguments.h b/contrib/nnkit/libs/intf/cmdline/include/nnkit/CmdlineArguments.h index 8a30f2a..b480b4d 100644 --- a/contrib/nnkit/libs/intf/cmdline/include/nnkit/CmdlineArguments.h +++ b/contrib/nnkit/libs/intf/cmdline/include/nnkit/CmdlineArguments.h @@ -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 __CMDLINE_ARGUMENTS_H__ #define __CMDLINE_ARGUMENTS_H__ diff --git a/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h b/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h index f7846e1..75c780a 100644 --- a/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h +++ b/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h @@ -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 __NNKIT_TENSOR_CONTEXT_H__ #define __NNKIT_TENSOR_CONTEXT_H__ diff --git a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/Backend.h b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/Backend.h index a84107e..3a4ab51 100644 --- a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/Backend.h +++ b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/Backend.h @@ -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 __NNKIT_SUPPORT_CAFFE_BACKEND_H__ #define __NNKIT_SUPPORT_CAFFE_BACKEND_H__ diff --git a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/BlobContext.h b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/BlobContext.h index 02d5ec5..1b0f6a8 100644 --- a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/BlobContext.h +++ b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/BlobContext.h @@ -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 __NNKIT_SUPPORT_CAFFE_BLOB_CONTEXT_H__ #define __NNKIT_SUPPORT_CAFFE_BLOB_CONTEXT_H__ diff --git a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/InputBlobContext.h b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/InputBlobContext.h index c4e50be..4472b99 100644 --- a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/InputBlobContext.h +++ b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/InputBlobContext.h @@ -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 __NNKIT_SUPPORT_CAFFE_INPUT_BLOB_CONTEXT_H__ #define __NNKIT_SUPPORT_CAFFE_INPUT_BLOB_CONTEXT_H__ diff --git a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/OutputBlobContext.h b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/OutputBlobContext.h index 437b0b9..d049c2f 100644 --- a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/OutputBlobContext.h +++ b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/OutputBlobContext.h @@ -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 __NNKIT_SUPPORT_CAFFE_OUTPUT_BLOB_CONTEXT_H__ #define __NNKIT_SUPPORT_CAFFE_OUTPUT_BLOB_CONTEXT_H__ diff --git a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/TensorContext.h b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/TensorContext.h index 21236d9..efe55e6 100644 --- a/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/TensorContext.h +++ b/contrib/nnkit/libs/support/caffe/include/nnkit/support/caffe/TensorContext.h @@ -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 __NNKIT_SUPPORT_CAFFE_TENSOR_CONTEXT_H__ #define __NNKIT_SUPPORT_CAFFE_TENSOR_CONTEXT_H__ diff --git a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/AbstractBackend.h b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/AbstractBackend.h index 7c611a5..6b5f1b5 100644 --- a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/AbstractBackend.h +++ b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/AbstractBackend.h @@ -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 __NNKIT_SUPPORT_TFLITE_ABSTRACT_BACKEND_H__ #define __NNKIT_SUPPORT_TFLITE_ABSTRACT_BACKEND_H__ diff --git a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorContext.h b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorContext.h index b2dbafd..05bbab0 100644 --- a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorContext.h +++ b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorContext.h @@ -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 __NNKIT_SUPPORT_TFLITE_TENSOR_CONTEXT_H__ #define __NNKIT_SUPPORT_TFLITE_TENSOR_CONTEXT_H__ diff --git a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSet.h b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSet.h index d249ae1..737a562 100644 --- a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSet.h +++ b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSet.h @@ -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 __NNKIT_SUPPORT_TFLITE_TENSOR_SET_H__ #define __NNKIT_SUPPORT_TFLITE_TENSOR_SET_H__ diff --git a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSets.h b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSets.h index 3dfcfbc..f7a761c 100644 --- a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSets.h +++ b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorSets.h @@ -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 __NNKIT_SUPPORT_TFLITE_TENSOR_SETS_H__ #define __NNKIT_SUPPORT_TFLITE_TENSOR_SETS_H__ diff --git a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorUtils.h b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorUtils.h index 6a2a363..05fb7d5 100644 --- a/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorUtils.h +++ b/contrib/nnkit/libs/support/tflite/include/nnkit/support/tflite/TensorUtils.h @@ -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 __NNKIT_SUPPORT_TENSOR_UTILS_H__ #define __NNKIT_SUPPORT_TENSOR_UTILS_H__ diff --git a/contrib/nnkit/libs/support/tflite/src/Backend.cpp b/contrib/nnkit/libs/support/tflite/src/Backend.cpp index 241ed6e..0246302 100644 --- a/contrib/nnkit/libs/support/tflite/src/Backend.cpp +++ b/contrib/nnkit/libs/support/tflite/src/Backend.cpp @@ -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 "nnkit/support/tflite/AbstractBackend.h" #include "nnkit/support/tflite/TensorSets.h" #include "nnkit/support/tflite/TensorContext.h" diff --git a/contrib/nnkit/libs/support/tflite/src/TensorContext.cpp b/contrib/nnkit/libs/support/tflite/src/TensorContext.cpp index e1ea762..e5b0133 100644 --- a/contrib/nnkit/libs/support/tflite/src/TensorContext.cpp +++ b/contrib/nnkit/libs/support/tflite/src/TensorContext.cpp @@ -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 "nnkit/support/tflite/TensorContext.h" #include "nnkit/support/tflite/TensorUtils.h" diff --git a/contrib/nnkit/libs/support/tflite/src/TensorUtils.cpp b/contrib/nnkit/libs/support/tflite/src/TensorUtils.cpp index 6f3262c..96d305b 100644 --- a/contrib/nnkit/libs/support/tflite/src/TensorUtils.cpp +++ b/contrib/nnkit/libs/support/tflite/src/TensorUtils.cpp @@ -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 "nnkit/support/tflite/TensorUtils.h" namespace nnkit diff --git a/contrib/nnkit/tools/nni/nni.cpp b/contrib/nnkit/tools/nni/nni.cpp index ba1a1e7..501b498 100644 --- a/contrib/nnkit/tools/nni/nni.cpp +++ b/contrib/nnkit/tools/nni/nni.cpp @@ -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 #include -- 2.7.4