From 043e983b7d6371265e7304bfd5aac713113b1055 Mon Sep 17 00:00:00 2001 From: qijun Date: Wed, 2 Aug 2017 09:49:06 +0000 Subject: [PATCH] pass pre commit --- paddle/pybind/pybind.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/pybind/pybind.cc b/paddle/pybind/pybind.cc index e2c20ef883..d3cde07bd0 100644 --- a/paddle/pybind/pybind.cc +++ b/paddle/pybind/pybind.cc @@ -158,7 +158,7 @@ All parameter, weight, gradient are variables in Paddle. "The module will return special predefined variable name in Paddle") .def("empty", pd::OperatorBase::EMPTY_VAR_NAME) .def("temp", pd::OperatorBase::TMP_VAR_NAME); - //clang-format off + // clang-format off py::class_(m, "DeviceContext") .def_static("create", [](paddle::platform::CPUPlace& place) @@ -174,7 +174,7 @@ All parameter, weight, gradient are variables in Paddle. return new paddle::platform::CUDADeviceContext(place); #endif }); - //clang-format on + // clang-format on py::class_(m, "GPUPlace").def(py::init()); -- GitLab