class_docstr: Context manager to handle out of memory errors.
  
  Args:
      handle_oom: Whether to handle the error or not. If set to False,
          the exception will be propagated.
code: def __enter__(self):
      return self
  
file_path: pytorch_tabular/src/pytorch_tabular/utils/nn_utils.py
imports: import torch
  import torch.nn
  from .logger import get_logger
label_desc: Use image node_id 2 for calling the OutOfMemoryHandler obj's underlying member method code with example usage: obj.__enter__() and returns: self