diff --git a/mace/kernels/local_response_norm.h b/mace/kernels/local_response_norm.h index 4a16ba909c4f0482e5d96c6534d98b7055bc2e6d..2a07df310fe7e1885df373aad3fe610dad015e2d 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 96391d50e3ed635677511e41a36daba747dbbdff..25a58aa1d3b03e1ae09a1f52cfe3351ab0eb803d 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 889c0200b338ee582b880520ef9430bf24d3c03c..980a59e6a4f92036349763c070f4aa67461fac4b 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 0bc7fc7074c4253a0516227305a391209e398db6..689eea72a736702c58e45f38f8bc745d06cee828 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 2e37c1862c53cbe659b7e891bdba88759d4c1472..be51532c477d74c115f9c3067c0f109ba04384ea 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 33ba50c00d50e8477ce71865ed8422fdab8464d0..44a5d3f6cf13624b079c0259de1cf3754700a041 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 896a9a4f0b6fc4ee873caa2728a2ba34a5b3cc36..ef9bbca46fa2b75cbb803a070d06cde2d4e7032d 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