code: def tensors_allocated():
      return sum(isinstance(x, Tensor) for x in gc.get_objects())
  
file_path: tinygrad/examples/benchmark_train_efficientnet.py
imports: import gc
  import time
  from tqdm import trange
  from extra.models.efficientnet import EfficientNet
  from tinygrad.nn.state import get_parameters
  from tinygrad.nn import optim
  from tinygrad import Tensor, GlobalCounters
  from tinygrad.helpers import getenv
  from tinygrad.jit import CacheCollector
label_desc: Use image node_id 1 for calling a global function with example usage: tensors_allocated() and returns: sum