code: def sizeof_tensor(tensor: torch.Tensor):
      return tensor.numel() * tensor.element_size()
  
imports: from enum import Enum
  from typing import Optional, Union
  import torch
  from .gemini_context import GeminiMemoryManager
label_desc: Use image node_id 1 for calling a global function with example usage: sizeof_tensor(tensor) and returns: unknown