max_memory_allocated

paddle.device. max_memory_allocated ( device: _CPUPlaceLike | None = None ) int [source]

The API max_memory_allocated is not supported in CPU PaddlePaddle. Please reinstall PaddlePaddle with GPU or XPU support to call this API.