class_docstr: Basic type for a tensor of bounding boxes in an image
class_docstr_tok: ["Basic","type","for","a","tensor","of","bounding","boxes","in","an","image"]
code: def create(cls, x, img_size=None) -> None:
      return cls(tensor(x).view(-1, 4).float(), img_size=img_size)
  
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 1 for calling the TensorBBox obj's underlying member method code with example usage: obj.create(cls, x, img_size) and returns: cls