From 555af4d0f6a02c88f9503cb6ffdd5c5e66e2e9b4 Mon Sep 17 00:00:00 2001 From: dongzhihong Date: Tue, 8 Aug 2017 17:21:04 +0800 Subject: [PATCH] "format code" --- paddle/framework/CMakeLists.txt | 6 +++--- paddle/operators/gaussian_random_op.cu | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 55d4bc428..1ebab6b8a 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -38,9 +38,9 @@ cc_test(backward_test SRCS backward_test.cc DEPS backward) if(WITH_PYTHON) cc_library(paddle_pybind SHARED - SRCS pybind.cc - DEPS pybind python backward - fc_op + SRCS pybind.cc + DEPS pybind python backward + fc_op sgd_op add_op mean_op diff --git a/paddle/operators/gaussian_random_op.cu b/paddle/operators/gaussian_random_op.cu index a408d2aa7..164753f94 100644 --- a/paddle/operators/gaussian_random_op.cu +++ b/paddle/operators/gaussian_random_op.cu @@ -1,3 +1,17 @@ +/* Copyright (c) 2016 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. */ + #include #include #include "paddle/platform/dynload/curand.h" -- GitLab