class_docstr: Time context manager for code block
      with timer():
          do something
      timer.get()
class_docstr_tok: ["Time","context","manager","for","code","block","with","timer","(",")",":","do","something","timer.get","(",")"]
code: def __init__(self, tape=None, **kwargs):
      if kwargs.get("name"):
          timer.NAMED_TAPE[kwargs["name"]] = (
              timer.NAMED_TAPE[kwargs["name"]]
              if timer.NAMED_TAPE.get(kwargs["name"])
              else 0.0
          )
          self.named = kwargs["name"]
          if kwargs.get("group"):
              # TODO: add group function
              pass
      else:
          self.named = False
          self.tape = tape or timer.TAPE
  
imports: import paddle
  from paddle import nn, optimizer
  import numpy
  from paddle import log
  from dataloader import BasicDataset
  from paddle.io import Dataset
  from time import time
  from sklearn.metrics import roc_auc_score
  import random
  import os
  from tqdm import tqdm
label_desc: Use image node_id 4 to create a new timer object  with example: obj = timer(tape)