mindspore.hal.memory_summary

View Source On Gitee
mindspore.hal.memory_summary(device_target=None)[source]

Returns readable memory pool status information.

Note

If device_target is not specified, get the device capability of the current backend set by context.

Parameters

device_target (str, optional) – The device name of backend, should be one of "CPU", "GPU" and "Ascend". Default value: None.

Returns

str, readable memory pool status information in tabular form.