code: def _to_sam_box(box, w, h):
      new_box = np.copy(np.array(box))
      new_box[0] *= w
      new_box[2] *= w
      new_box[1] *= h
      new_box[3] *= h
      new_box[2] += new_box[0]
      new_box[3] += new_box[1]
      return np.round(new_box).astype(int)
  
imports: import numpy
  import eta.core.utils
  import fiftyone.core.labels
  import fiftyone.core.utils
  import fiftyone.utils.torch
  import fiftyone.zoo.models
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: _to_sam_box(box, w, h) and returns: np