class_docstr: 随机水平翻转图像以及bboxes,该方法应放在ToTensor后
class_docstr_tok: ["\u968f\u673a\u6c34\u5e73\u7ffb\u8f6c\u56fe\u50cf\u4ee5\u53cabboxes",",","\u8be5\u65b9\u6cd5\u5e94\u653e\u5728ToTensor\u540e"]
code: def __init__(self, prob=0.5):
      self.prob = prob
  
imports: import random
  import torch
  import torchvision.transforms
  from torchvision.transforms import functional
  from src import dboxes300_coco, calc_iou_tensor, Encoder
label_desc: Use image node_id 1 to create a new RandomHorizontalFlip object from inherited base classes: object with example: obj = RandomHorizontalFlip(prob)