Source code for torch_geometric.graphgym.utils.tools

[docs]class dummy_context(): '''Default context manager that does nothing''' def __enter__(self): return None def __exit__(self, exc_type, exc_value, traceback): return False