From 38490651563d258c58867058cf158a8f87fd880a Mon Sep 17 00:00:00 2001 From: Matthew Brookhart Date: Fri, 29 Sep 2017 13:29:38 -0700 Subject: [PATCH] Add license header to files --- src/ngraph/ngraph_compiler.cc | 14 ++++++++++++++ src/ngraph/ngraph_compiler.h | 14 ++++++++++++++ src/ngraph/ngraph_compiler_utils.h | 14 ++++++++++++++ src/ngraph/ngraph_graph.cc | 14 ++++++++++++++ src/ngraph/ngraph_graph.h | 14 ++++++++++++++ src/ngraph/ngraph_graph_utils.h | 14 ++++++++++++++ src/ngraph/ngraph_nnvm_ops.cc | 14 ++++++++++++++ src/ngraph/ngraph_nnvm_ops.h | 14 ++++++++++++++ src/ngraph/ngraph_pycompiler.cc | 14 ++++++++++++++ src/ngraph/ngraph_pycompiler.h | 14 ++++++++++++++ src/ngraph/ngraph_pycompiler_utils.h | 14 ++++++++++++++ src/ngraph/ngraph_pyemitter.cc | 14 ++++++++++++++ src/ngraph/ngraph_pyemitter.h | 14 ++++++++++++++ src/ngraph/ngraph_utils.cc | 14 ++++++++++++++ src/ngraph/ngraph_utils.h | 14 ++++++++++++++ tests/cpp/ngraph/test_ngraph_graph.cc | 14 ++++++++++++++ tests/cpp/ngraph/test_ngraph_utils.cc | 14 ++++++++++++++ 17 files changed, 238 insertions(+) diff --git a/src/ngraph/ngraph_compiler.cc b/src/ngraph/ngraph_compiler.cc index 6333190e5..5f11fee8f 100644 --- a/src/ngraph/ngraph_compiler.cc +++ b/src/ngraph/ngraph_compiler.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include "ngraph_compiler.h" #include #include diff --git a/src/ngraph/ngraph_compiler.h b/src/ngraph/ngraph_compiler.h index a4395189c..e32caa3ce 100644 --- a/src/ngraph/ngraph_compiler.h +++ b/src/ngraph/ngraph_compiler.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_COMPILER_H_ #define NGRAPH_COMPILER_H_ diff --git a/src/ngraph/ngraph_compiler_utils.h b/src/ngraph/ngraph_compiler_utils.h index f26f77976..5986a2165 100644 --- a/src/ngraph/ngraph_compiler_utils.h +++ b/src/ngraph/ngraph_compiler_utils.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_COMPILER_UTILS_H_ #define NGRAPH_COMPILER_UTILS_H_ diff --git a/src/ngraph/ngraph_graph.cc b/src/ngraph/ngraph_graph.cc index 5e235a6ca..ead755772 100644 --- a/src/ngraph/ngraph_graph.cc +++ b/src/ngraph/ngraph_graph.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include "ngraph_graph.h" #include "ngraph_graph_utils.h" #include "reverse_iterate.h" diff --git a/src/ngraph/ngraph_graph.h b/src/ngraph/ngraph_graph.h index d639a0aab..2b7c83a9e 100644 --- a/src/ngraph/ngraph_graph.h +++ b/src/ngraph/ngraph_graph.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_INTERMEDIARY_GRAPH_H_ #define NGRAPH_INTERMEDIARY_GRAPH_H_ diff --git a/src/ngraph/ngraph_graph_utils.h b/src/ngraph/ngraph_graph_utils.h index 3287b491f..4c14c4f8c 100644 --- a/src/ngraph/ngraph_graph_utils.h +++ b/src/ngraph/ngraph_graph_utils.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_GRAPH_UTILS_H_ #define NGRAPH_GRAPH_UTILS_H_ diff --git a/src/ngraph/ngraph_nnvm_ops.cc b/src/ngraph/ngraph_nnvm_ops.cc index 8c3dc6b6d..fc3ecf62d 100644 --- a/src/ngraph/ngraph_nnvm_ops.cc +++ b/src/ngraph/ngraph_nnvm_ops.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include #include #include diff --git a/src/ngraph/ngraph_nnvm_ops.h b/src/ngraph/ngraph_nnvm_ops.h index 489ef4d23..e59a72d0d 100644 --- a/src/ngraph/ngraph_nnvm_ops.h +++ b/src/ngraph/ngraph_nnvm_ops.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_NNVM_OP_H_ #define NGRAPH_NNVM_OP_H_ diff --git a/src/ngraph/ngraph_pycompiler.cc b/src/ngraph/ngraph_pycompiler.cc index c8a88d341..eae9cc342 100644 --- a/src/ngraph/ngraph_pycompiler.cc +++ b/src/ngraph/ngraph_pycompiler.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include "ngraph_pycompiler.h" #include #include diff --git a/src/ngraph/ngraph_pycompiler.h b/src/ngraph/ngraph_pycompiler.h index 4eb86f910..08da89664 100644 --- a/src/ngraph/ngraph_pycompiler.h +++ b/src/ngraph/ngraph_pycompiler.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_PYCOMPILER_H_ #define NGRAPH_PYCOMPILER_H_ diff --git a/src/ngraph/ngraph_pycompiler_utils.h b/src/ngraph/ngraph_pycompiler_utils.h index 96f4d762f..8d4b08a71 100644 --- a/src/ngraph/ngraph_pycompiler_utils.h +++ b/src/ngraph/ngraph_pycompiler_utils.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_PYCOMPILER_UTILS_H_ #define NGRAPH_PYCOMPILER_UTILS_H_ diff --git a/src/ngraph/ngraph_pyemitter.cc b/src/ngraph/ngraph_pyemitter.cc index b0fdb653e..e4ad2af04 100644 --- a/src/ngraph/ngraph_pyemitter.cc +++ b/src/ngraph/ngraph_pyemitter.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include "ngraph_pyemitter.h" #include "ngraph_pycompiler_utils.h" diff --git a/src/ngraph/ngraph_pyemitter.h b/src/ngraph/ngraph_pyemitter.h index 3033725cc..d34d231de 100644 --- a/src/ngraph/ngraph_pyemitter.h +++ b/src/ngraph/ngraph_pyemitter.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_PYEMITTER_H_ #define NGRAPH_PYEMITTER_H_ diff --git a/src/ngraph/ngraph_utils.cc b/src/ngraph/ngraph_utils.cc index 6487a7d69..0c6abe049 100644 --- a/src/ngraph/ngraph_utils.cc +++ b/src/ngraph/ngraph_utils.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include #include diff --git a/src/ngraph/ngraph_utils.h b/src/ngraph/ngraph_utils.h index b6dc3d526..b477a38bb 100644 --- a/src/ngraph/ngraph_utils.h +++ b/src/ngraph/ngraph_utils.h @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #ifndef NGRAPH_UTILS_H_ #define NGRAPH_UTILS_H_ diff --git a/tests/cpp/ngraph/test_ngraph_graph.cc b/tests/cpp/ngraph/test_ngraph_graph.cc index 8a9d9c676..a72fb56b7 100644 --- a/tests/cpp/ngraph/test_ngraph_graph.cc +++ b/tests/cpp/ngraph/test_ngraph_graph.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include "test_util.h" #include "../../src/ngraph/ngraph_graph.h" diff --git a/tests/cpp/ngraph/test_ngraph_utils.cc b/tests/cpp/ngraph/test_ngraph_utils.cc index 2ecbf2260..7195f655d 100644 --- a/tests/cpp/ngraph/test_ngraph_utils.cc +++ b/tests/cpp/ngraph/test_ngraph_utils.cc @@ -1,3 +1,17 @@ +// ---------------------------------------------------------------------------- +// Copyright 2017 Nervana Systems Inc. +// 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 +// ---------------------------------------------------------------------------- + #include "test_util.h" #include "../../src/ngraph/ngraph_graph_utils.h" #include "../../src/ngraph/ngraph_compiler_utils.h"