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)
docstr: Restrict angles to the range of [-180, 180) degrees
docstr_tok: ["Restrict","angles","to","the","range","of","[","-180",",","180",")","degrees"]
code: def normalize_angles(self) -> None:
      """
      Restrict angles to the range of [-180, 180) degrees
      """
      angle_tensor = (self.tensor[:, 4] + 180.0) % 360.0 - 180.0
      self.tensor = torch.cat(
          (self.tensor[:, :4], angle_tensor[:, None]), dim=1
      )
  
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 5 for calling the RotatedBoxes obj's underlying member method code with example usage: obj.normalize_angles() without return types