code: def store_l1_l2(name: str, tensor: torch.Tensor):
      if tensor.is_floating_point():
          tracker.add(f"{name}.mean", tensor.mean())
          tracker.add(f"{name}.l1", tensor.abs().mean())
          tracker.add(f"{name}.l2", (tensor**2).mean().sqrt())
  
file_path: labml/client/labml/utils/pytorch.py
imports: from typing import Optional, Dict, TYPE_CHECKING
  import torch
  from labml import tracker
  from labml.configs import BaseConfigs
label_desc: Use image node_id 1 for calling a global function with example usage: store_l1_l2(name, tensor) without return types