megengine.get_reserved_memory# get_reserved_memory(device=None)[source]# Returns the current memory managed by the caching allocator on the computing device in bytes. Due to the asynchronous execution of MegEngine, please call megengine._full_sync before calling this function in order to get accurate value.