code: def overwrite_eps(model: nn.Module, eps: float) -> None:
      """
      This method overwrites the default eps values of all the
      FrozenBatchNorm2d layers of the model with the provided value.
      This is necessary to address the BC-breaking change introduced
      by the bug-fix at pytorch/vision#2933. The overwrite is applied
      only when the pretrained weights are loaded to maintain compatibility
      with previous versions.
  
      Args:
          model (nn.Module): The model on which we perform the overwrite.
          eps (float): The new value of eps.
      """
      for module in model.modules():
          if isinstance(module, FrozenBatchNorm2d):
              module.eps = eps
  
imports: import math
  from collections import OrderedDict
  from typing import Dict, List, Optional, Tuple
  import torch
  from torch import nn, Tensor
  from torch.nn import functional
  from torchvision.ops import complete_box_iou_loss, distance_box_iou_loss, FrozenBatchNorm2d, generalized_box_iou_loss
label_desc: Use image node_id 2 for calling a global function with example usage: overwrite_eps(model, eps) without return types