From 3e90faaa81977a9c127a5ab2c18a08acdc1810bb Mon Sep 17 00:00:00 2001 From: chenguowei01 Date: Mon, 1 Jun 2020 16:02:47 +0800 Subject: [PATCH] update copyright --- dygraph/datasets/__init__.py | 3 +-- dygraph/datasets/dataset.py | 3 +-- dygraph/datasets/shared_queue/__init__.py | 3 +-- dygraph/datasets/shared_queue/queue.py | 3 +-- dygraph/datasets/shared_queue/sharedmemory.py | 3 +-- dygraph/main.py | 14 ++++++++++++++ dygraph/models/__init__.py | 3 +-- dygraph/models/unet.py | 3 +-- dygraph/nets/__init__.py | 1 - dygraph/nets/unet.py | 14 ++++++++++++++ dygraph/transforms/__init__.py | 3 +-- dygraph/transforms/functional.py | 3 +-- dygraph/transforms/transforms.py | 3 +-- dygraph/utils/__init__.py | 3 +-- dygraph/utils/logging.py | 3 +-- dygraph/utils/metrics.py | 3 +-- dygraph/utils/utils.py | 3 +-- 17 files changed, 42 insertions(+), 29 deletions(-) diff --git a/dygraph/datasets/__init__.py b/dygraph/datasets/__init__.py index 77dae995..07fc961c 100644 --- a/dygraph/datasets/__init__.py +++ b/dygraph/datasets/__init__.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/datasets/dataset.py b/dygraph/datasets/dataset.py index 07bfdebd..ad1c4bad 100644 --- a/dygraph/datasets/dataset.py +++ b/dygraph/datasets/dataset.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/datasets/shared_queue/__init__.py b/dygraph/datasets/shared_queue/__init__.py index 1662f739..6486d944 100644 --- a/dygraph/datasets/shared_queue/__init__.py +++ b/dygraph/datasets/shared_queue/__init__.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/datasets/shared_queue/queue.py b/dygraph/datasets/shared_queue/queue.py index 7a67f98d..d08bc1b3 100644 --- a/dygraph/datasets/shared_queue/queue.py +++ b/dygraph/datasets/shared_queue/queue.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/datasets/shared_queue/sharedmemory.py b/dygraph/datasets/shared_queue/sharedmemory.py index 8df13752..e24cb8b3 100644 --- a/dygraph/datasets/shared_queue/sharedmemory.py +++ b/dygraph/datasets/shared_queue/sharedmemory.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/main.py b/dygraph/main.py index aeb861fb..6ae620e3 100644 --- a/dygraph/main.py +++ b/dygraph/main.py @@ -1,3 +1,17 @@ +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. +# +# 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. + from datasets import Dataset import transforms import paddle.fluid as fluid diff --git a/dygraph/models/__init__.py b/dygraph/models/__init__.py index c5bb8150..3f33a7b1 100644 --- a/dygraph/models/__init__.py +++ b/dygraph/models/__init__.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/models/unet.py b/dygraph/models/unet.py index f4989e69..cd286486 100644 --- a/dygraph/models/unet.py +++ b/dygraph/models/unet.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/nets/__init__.py b/dygraph/nets/__init__.py index 26d9fb22..bd79647a 100644 --- a/dygraph/nets/__init__.py +++ b/dygraph/nets/__init__.py @@ -1,4 +1,3 @@ -# coding: utf8 # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/dygraph/nets/unet.py b/dygraph/nets/unet.py index 5f5ed3b8..06db9909 100644 --- a/dygraph/nets/unet.py +++ b/dygraph/nets/unet.py @@ -1,3 +1,17 @@ +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. +# +# 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. + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/dygraph/transforms/__init__.py b/dygraph/transforms/__init__.py index b537d321..9eccee95 100644 --- a/dygraph/transforms/__init__.py +++ b/dygraph/transforms/__init__.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/transforms/functional.py b/dygraph/transforms/functional.py index c3f0265b..24e755d1 100644 --- a/dygraph/transforms/functional.py +++ b/dygraph/transforms/functional.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/transforms/transforms.py b/dygraph/transforms/transforms.py index 261b2978..7a24089a 100644 --- a/dygraph/transforms/transforms.py +++ b/dygraph/transforms/transforms.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/utils/__init__.py b/dygraph/utils/__init__.py index 9b6978c8..cb5201d5 100644 --- a/dygraph/utils/__init__.py +++ b/dygraph/utils/__init__.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/utils/logging.py b/dygraph/utils/logging.py index 6f0c25ff..7657c458 100644 --- a/dygraph/utils/logging.py +++ b/dygraph/utils/logging.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/utils/metrics.py b/dygraph/utils/metrics.py index f7bab020..8b1747e9 100644 --- a/dygraph/utils/metrics.py +++ b/dygraph/utils/metrics.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/dygraph/utils/utils.py b/dygraph/utils/utils.py index 435374ae..e8b5a158 100644 --- a/dygraph/utils/utils.py +++ b/dygraph/utils/utils.py @@ -1,5 +1,4 @@ -# coding: utf8 -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. +# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. -- GitLab