code: def get_file_size_mb(weight):
      weights_path = os.path.join(
          os.getenv("HOME"),
          ".cache/torch/hub/checkpoints",
          weight.url.split("/")[-1],
      )
      weights_size_mb = os.path.getsize(weights_path) / 1024 / 1024
  
      return round(weights_size_mb, 3)
  
imports: import os
  from collections import defaultdict
  from numbers import Number
  from typing import Any, List
  import torch
  from torch.utils._python_dispatch import TorchDispatchMode
  from torch.utils._pytree import tree_map
  from torchvision.models._api import Weights
label_desc: Use image node_id 15 for calling a global function with example usage: get_file_size_mb(weight) and returns: round