diff --git a/paddle/pybind/pybind.cc b/paddle/pybind/pybind.cc index e2c20ef883f182744cca27d91152a89cc53c6a2c..d3cde07bd045dfe46be2363c14720c1393221157 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());