class_docstr: A simple class for timing execution.
  
  Example::
  
      with Timer():
          print("This print statement is timed.")
class_docstr_tok: ["A","simple","class","for","timing","execution",".","Example",":",":","with","Timer","(",")",":","print","(","``","This","print","statement","is","timed",".","''",")"]
code: def __enter__(self):
      self.start = time.time()
      return self
  
file_path: pytorch3d/pytorch3d/implicitron/tools/utils.py
imports: import collections
  import dataclasses
  import time
  from contextlib import contextmanager
  from typing import Any, Callable, Dict, Iterable, Iterator
  import torch
label_desc: Use image node_id 2 for calling the Timer obj's underlying member method code with example usage: obj.__enter__() and returns: self