mindspore.hal.memory_summary

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

Returns readable memory pool status information, this api will be deprecated and removed in future versions. Please use the api mindspore.runtime.memory_summary() instead.

Parameters

device_target (str, optional) – The target device specified, should be one of "CPU" , "GPU" and "Ascend" . Default None , represents the current device set by context.

Returns

str, readable memory pool status information in tabular form.