class_docstr: This structure stores a list of rotated boxes as a Nx5 torch.Tensor.
  It supports some common methods about boxes
  (`area`, `clip`, `nonempty`, etc),
  and also behaves like a Tensor
  (support indexing, `to(device)`, `.device`, and iteration over all boxes)
code: def device(self) -> torch.device:
      return self.tensor.device
  
imports: import math
  from typing import List, Tuple
  import torch
  from detectron2.layers.rotated_boxes import pairwise_iou_rotated
  from .boxes import Boxes
label_desc: Use image node_id 15 for calling the RotatedBoxes obj's underlying member method code with example usage: obj.device() and returns: self