code: def _flip(self, images, bboxes):
      for i in range(self._batch_size):
          if random.randrange(2) == 0:
              images[i, ...] = images[i, :, ::-1, :]
              bboxes[i][:, 0] = 1.0 - bboxes[i][:, 0]
  
file_path: DALI/docs/examples/use_cases/tensorflow/yolov4/src/np/pipeline.py
imports: from .coco import COCO
  import numpy
  import tensorflow
  import os
  import cv2
  import random
label_desc: Use image node_id 7 for calling the YOLOv4PipelineNumpy obj's underlying member method code with example usage: obj._flip(images, bboxes) without return types