# tensorplay.cuda.power_draw

Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.power_draw.html

# tensorplay.cuda.power_draw

tensorplay.cuda.power_draw(device: [Any](https://docs.python.org/3/library/typing.html#typing.Any) | [None](https://docs.python.org/3/library/constants.html#None) = None) &#x2192; [int](https://docs.python.org/3/library/functions.html#int)[[source]](../_modules/tensorplay/cuda.html#power_draw)

Return the average power draw of the GPU sensor in mW (MilliWatts)
over the past sample period as given by nvidia-smi for Fermi or newer fully supported devices.
