parameters: ()
return_statement: return torch._C._cuda_ipc_collect()
docstring: r"""Force collects GPU memory after it has been released by CUDA IPC.
  
      .. note::
          Checks if any sent CUDA tensors could be cleaned from the memory. Force
          closes shared memory file used for reference counting if there is no
          active counters. Useful when the producer process stopped actively sending
          tensors and want to release unused memory.
docstring_summary: r"""Force collects GPU memory after it has been released by CUDA IPC.
docstring_tokens: r Force collects GPU memory after it has been released by CUDA IPC .
function: def ipc_collect():
      r"""Force collects GPU memory after it has been released by CUDA IPC.
  
      .. note::
          Checks if any sent CUDA tensors could be cleaned from the memory. Force
          closes shared memory file used for reference counting if there is no
          active counters. Useful when the producer process stopped actively sending
          tensors and want to release unused memory.
      """
      _lazy_init()
      return torch._C._cuda_ipc_collect()
function_tokens: def ipc_collect ( ) : _lazy_init ( ) return torch . _C . _cuda_ipc_collect ( )