From 9ad149a928e1c9916ffd421bf9e365045108c482 Mon Sep 17 00:00:00 2001 From: typhoonzero Date: Tue, 16 Jan 2018 08:54:21 +0800 Subject: [PATCH] fix copyright check --- benchmark/cluster/v2/reader.py | 14 ++++++++++++++ benchmark/cluster/v2/vgg16.py | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/benchmark/cluster/v2/reader.py b/benchmark/cluster/v2/reader.py index a5a2d54841c..060bf2bda2f 100644 --- a/benchmark/cluster/v2/reader.py +++ b/benchmark/cluster/v2/reader.py @@ -1,3 +1,17 @@ +# Copyright (c) 2018 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. + import random from paddle.v2.image import load_and_transform import paddle.v2 as paddle diff --git a/benchmark/cluster/v2/vgg16.py b/benchmark/cluster/v2/vgg16.py index 699fc07628f..dc9573bd799 100644 --- a/benchmark/cluster/v2/vgg16.py +++ b/benchmark/cluster/v2/vgg16.py @@ -1,3 +1,17 @@ +# Copyright (c) 2018 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. + import gzip import paddle.v2.dataset.flowers as flowers -- GitLab