From 49a17a25e98493e88ad939b05b20d8720932e704 Mon Sep 17 00:00:00 2001 From: yangfukui Date: Tue, 19 Nov 2019 20:24:15 +0800 Subject: [PATCH] change single_distiller head --- paddleslim/dist/single_distiller.py | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/paddleslim/dist/single_distiller.py b/paddleslim/dist/single_distiller.py index 0a0bc749..88d34d3b 100644 --- a/paddleslim/dist/single_distiller.py +++ b/paddleslim/dist/single_distiller.py @@ -1,15 +1,17 @@ -#!/usr/bin/env python -#-*- coding:utf8 -*- - -# ================================================================ -# Copyright (C) 2019 BAIDU CORPORATION. All rights reserved. -# -# Filename : single_distiller.py -# Author : yangfukui@baidu.com -# Date : 2019-11-01 -# Describe : +# Copyright (c) 2019 PaddlePaddle Authors. 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. + import numpy as np import paddle.fluid as fluid -- GitLab