Browse Source

fix(mge/device): fix the directive content block

GitOrigin-RevId: 539feb7956
release-1.7
Megvii Engine Team 3 years ago
parent
commit
fba523a196
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      imperative/python/megengine/device.py

+ 3
- 2
imperative/python/megengine/device.py View File

@@ -199,7 +199,8 @@ def coalesce_free_memory():
this func was called this func was called


.. note:: .. note::
Please notice that this function will not move any memory in-use.
Please notice that this function may do nothing if there are no chunks that can be freed

* This function will not move any memory in-use;
* This function may do nothing if there are no chunks that can be freed.
""" """
return _try_coalesce_all_free_memory() return _try_coalesce_all_free_memory()

Loading…
Cancel
Save