class_docstr: Random horizontal flipping.
  
  Parameters
  ----------
  p : float
      chance [0, 1] to flip
class_docstr_tok: ["Random","horizontal","flipping",".","Parameters","--","--","--","--","--","p",":","float","chance","[","0",",","1","]","to","flip"]
docstr: Helper function to flip label.
docstr_tok: ["Helper","function","to","flip","label","."]
code: def _flip_label(self, label):
      """Helper function to flip label."""
      tmp = 1.0 - label[:, 1]
      label[:, 1] = 1.0 - label[:, 3]
      label[:, 3] = tmp
  
imports: import json
  import logging
  import random
  import warnings
  import numpy
  from ..base import numeric_types
  from ..None import ndarray
  from ..ndarray._internal import _cvcopyMakeBorder
  from ..None import io
  from .image import RandomOrderAug, ColorJitterAug, LightingAug, ColorNormalizeAug
  from .image import ResizeAug, ForceResizeAug, CastAug, HueJitterAug, RandomGrayAug
  from .image import fixed_crop, ImageIter, Augmenter
  from ..util import is_np_array
  from ..None import numpy
label_desc: Use image node_id 3 for calling the DetHorizontalFlipAug obj's underlying member method code with example usage: obj._flip_label(label) without return types