diff --git a/python/paddle/device/cuda/__init__.py b/python/paddle/device/cuda/__init__.py index a559df21ad2413e049ac922f4a12e0e6ae4281ba..4a65f53fe58d02fae49fc006ada72eb76def55d9 100644 --- a/python/paddle/device/cuda/__init__.py +++ b/python/paddle/device/cuda/__init__.py @@ -212,15 +212,15 @@ def get_device_properties(device=None): Return the properties of given device. Args: - device(paddle.CUDAPlace or int or str): The device, the id of the device - or the string name of device like 'gpu:x' which to get the properties of - the device from. If device is None, the device is the current device. + device(paddle.CUDAPlace or int or str): The device, the id of the device or + the string name of device like 'gpu:x' which to get the properties of the + device from. If device is None, the device is the current device. Default: None. Returns: - _gpuDeviceProperties: the properties of the device which include ASCII string + _gpuDeviceProperties: The properties of the device which include ASCII string identifying device, major compute capability, minor compute capability, global - memory available on device and the number of multiprocessors on the device. + memory available and the number of multiprocessors on the device. Examples: