docstr: Get the parameters for the randomized transform to be applied on image.
  
  Args:
      brightness (tuple of float (min, max), optional): The range from which the brightness_factor is chosen
          uniformly. Pass None to turn off the transformation.
      contrast (tuple of float (min, max), optional): The range from which the contrast_factor is chosen
          uniformly. Pass None to turn off the transformation.
      saturation (tuple of float (min, max), optional): The range from which the saturation_factor is chosen
          uniformly. Pass None to turn off the transformation.
      hue (tuple of float (min, max), optional): The range from which the hue_factor is chosen uniformly.
          Pass None to turn off the transformation.
  
  Returns:
      tuple: The parameters used to apply the randomized transform
      along with their random order.
docstr_tok: ["Get","the","parameters","for","the","randomized","transform","to","be","applied","on","image",".","Args",":","brightness","(","tuple","of","float","(","min",",","max",")",",","optional",")",":","The","range","from","which","the","brightness_factor","is","chosen","uniformly",".","Pass","None","to","turn","off","the","transformation",".","contrast","(","tuple","of","float","(","min",",","max",")",",","optional",")",":","The","range","from","which","the","contrast_factor","is","chosen","uniformly",".","Pass","None","to","turn","off","the","transformation",".","saturation","(","tuple","of","float","(","min",",","max",")",",","optional",")",":","The","range","from","which","the","saturation_factor","is","chosen","uniformly",".","Pass","None","to","turn","off","the","transformation",".","hue","(","tuple","of","float","(","min",",","max",")",",","optional",")",":","The","range","from","which","the","hue_factor","is","chosen","uniformly",".","Pass","None","to","turn","off","the","transformation",".","Returns",":","tuple",":","The","parameters","used","to","apply","the","randomized","transform","along","with","their","random","order","."]
code: def get_params(
      brightness: Optional[List[float]],
      contrast: Optional[List[float]],
      saturation: Optional[List[float]],
      hue: Optional[List[float]],
  ) -> Tuple[
      Tensor,
      Optional[float],
      Optional[float],
      Optional[float],
      Optional[float],
  ]:
      """Get the parameters for the randomized transform to be applied on image.
  
      Args:
          brightness (tuple of float (min, max), optional): The range from which the brightness_factor is chosen
              uniformly. Pass None to turn off the transformation.
          contrast (tuple of float (min, max), optional): The range from which the contrast_factor is chosen
              uniformly. Pass None to turn off the transformation.
          saturation (tuple of float (min, max), optional): The range from which the saturation_factor is chosen
              uniformly. Pass None to turn off the transformation.
          hue (tuple of float (min, max), optional): The range from which the hue_factor is chosen uniformly.
              Pass None to turn off the transformation.
  
      Returns:
          tuple: The parameters used to apply the randomized transform
          along with their random order.
      """
      fn_idx = paddle.randperm(4)
  
      b = (
          None
          if brightness is None
          else paddle.empty([1]).uniform_(brightness[0], brightness[1])
      )
      c = (
          None
          if contrast is None
          else paddle.empty([1]).uniform_(contrast[0], contrast[1])
      )
      s = (
          None
          if saturation is None
          else paddle.empty([1]).uniform_(saturation[0], saturation[1])
      )
      h = (
          None
          if hue is None
          else paddle.empty([1]).uniform_(hue[0], hue[1])
      )
  
      return fn_idx, b, c, s, h
  
imports: import math
  import numbers
  import warnings
  from enum import Enum
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import Sequence
  from typing import Tuple
  from typing import Union
  import paddle
  import paddle.nn
  from paddle import Tensor
  from paddle.nn import functional
  from paddle.nn.functional import grid_sample
  from paddle.vision import transforms
label_desc: Use image node_id 3 for calling the ColorJitter obj's underlying member method code with example usage: obj.get_params(brightness, contrast, saturation, hue) and returns: fn_idx,  b,  c,  s,  h