original_docstring: Writes the available GPU memory to the debug log.
      
docstring: Writes the available GPU memory to the debug log.
docstring_tokens: Writes the available GPU memory to the debug log .
code: def log_free_mem():
      """Writes the available GPU memory to the debug log.
      """
  
      for name in theano.gpuarray.type.list_contexts():
          context = theano.gpuarray.type.get_context(name)
          free_mbytes = context.free_gmem / (1024 * 1024)
          logging.debug("Available memory on GPU %s: %.0f MB", name, free_mbytes)
code_tokens: def log_free_mem ( ) : for name in theano . gpuarray . type . list_contexts ( ) : context = theano . gpuarray . type . get_context ( name ) free_mbytes = context . free_gmem / ( 1024 * 1024 ) logging . debug ( "Available memory on GPU %s: %.0f MB" , name , free_mbytes )
short_docstring: Writes the available GPU memory to the debug log.
short_docstring_tokens: Writes the available GPU memory to the debug log .
comment: """Writes the available GPU memory to the debug log.
      """