"format code"

revert-3824-remove_grad_op_type
dongzhihong 8 years ago
parent 8804b242d8
commit 555af4d0f6

@ -38,9 +38,9 @@ cc_test(backward_test SRCS backward_test.cc DEPS backward)
if(WITH_PYTHON) if(WITH_PYTHON)
cc_library(paddle_pybind SHARED cc_library(paddle_pybind SHARED
SRCS pybind.cc SRCS pybind.cc
DEPS pybind python backward DEPS pybind python backward
fc_op fc_op
sgd_op sgd_op
add_op add_op
mean_op mean_op

@ -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 <memory> #include <memory>
#include <random> #include <random>
#include "paddle/platform/dynload/curand.h" #include "paddle/platform/dynload/curand.h"

Loading…
Cancel
Save