From dc1049a8c4d93f5a910832a77e3d68b93ed32a2d Mon Sep 17 00:00:00 2001 From: Liangliang He Date: Wed, 2 May 2018 18:23:07 +0800 Subject: [PATCH] Update license --- mace/kernels/local_response_norm.h | 12 +++++++++++- mace/ops/local_response_norm.cc | 12 +++++++++++- mace/ops/local_response_norm.h | 12 +++++++++++- mace/ops/local_response_norm_benchmark.cc | 12 +++++++++++- mace/ops/local_response_norm_test.cc | 12 +++++++++++- mace/test/mace_api_test.cc | 13 ++++++++++++- mace/tools/git/gen_version_source.sh | 12 +++++++++++- 7 files changed, 78 insertions(+), 7 deletions(-) diff --git a/mace/kernels/local_response_norm.h b/mace/kernels/local_response_norm.h index 4a16ba90..2a07df31 100644 --- a/mace/kernels/local_response_norm.h +++ b/mace/kernels/local_response_norm.h @@ -1,6 +1,16 @@ +// Copyright 2018 Xiaomi, Inc. All rights reserved. // -// Copyright (c) 2017 XiaoMi 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 MACE_KERNELS_LOCAL_RESPONSE_NORM_H_ #define MACE_KERNELS_LOCAL_RESPONSE_NORM_H_ diff --git a/mace/ops/local_response_norm.cc b/mace/ops/local_response_norm.cc index 96391d50..25a58aa1 100644 --- a/mace/ops/local_response_norm.cc +++ b/mace/ops/local_response_norm.cc @@ -1,6 +1,16 @@ +// Copyright 2018 Xiaomi, Inc. All rights reserved. // -// Copyright (c) 2017 XiaoMi 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 "mace/ops/local_response_norm.h" diff --git a/mace/ops/local_response_norm.h b/mace/ops/local_response_norm.h index 889c0200..980a59e6 100644 --- a/mace/ops/local_response_norm.h +++ b/mace/ops/local_response_norm.h @@ -1,6 +1,16 @@ +// Copyright 2018 Xiaomi, Inc. All rights reserved. // -// Copyright (c) 2017 XiaoMi 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 MACE_OPS_LOCAL_RESPONSE_NORM_H_ #define MACE_OPS_LOCAL_RESPONSE_NORM_H_ diff --git a/mace/ops/local_response_norm_benchmark.cc b/mace/ops/local_response_norm_benchmark.cc index 0bc7fc70..689eea72 100644 --- a/mace/ops/local_response_norm_benchmark.cc +++ b/mace/ops/local_response_norm_benchmark.cc @@ -1,6 +1,16 @@ +// Copyright 2018 Xiaomi, Inc. All rights reserved. // -// Copyright (c) 2017 XiaoMi 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 "mace/core/operator.h" #include "mace/core/testing/test_benchmark.h" diff --git a/mace/ops/local_response_norm_test.cc b/mace/ops/local_response_norm_test.cc index 2e37c186..be51532c 100644 --- a/mace/ops/local_response_norm_test.cc +++ b/mace/ops/local_response_norm_test.cc @@ -1,6 +1,16 @@ +// Copyright 2018 Xiaomi, Inc. All rights reserved. // -// Copyright (c) 2017 XiaoMi 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 "mace/core/operator.h" #include "mace/ops/ops_test_util.h" diff --git a/mace/test/mace_api_test.cc b/mace/test/mace_api_test.cc index 33ba50c0..44a5d3f6 100644 --- a/mace/test/mace_api_test.cc +++ b/mace/test/mace_api_test.cc @@ -1,6 +1,17 @@ +// Copyright 2018 Xiaomi, Inc. All rights reserved. // -// Copyright (c) 2017 XiaoMi 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 diff --git a/mace/tools/git/gen_version_source.sh b/mace/tools/git/gen_version_source.sh index 896a9a4f..ef9bbca4 100644 --- a/mace/tools/git/gen_version_source.sh +++ b/mace/tools/git/gen_version_source.sh @@ -1,7 +1,17 @@ #!/usr/bin/env bash +# Copyright 2018 Xiaomi, Inc. All rights reserved. # -# Copyright (c) 2017 XiaoMi 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. OUTPUT_FILENAME=$1 if [[ -z "${OUTPUT_FILENAME}}" ]]; then -- GitLab