code: def decodes(self, x: TensorBBox):
      pnts = self.decodes(cast(x.view(-1, 2), TensorPoint))
      return cast(pnts.view(-1, 4), TensorBBox)
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from PIL import Image
  from matplotlib import patches, patheffects
label_desc: Use image node_id 21 for calling a global function with example usage: decodes(x) and returns: cast