class_docstr: Reduces the contrast of the input using a perturbation of the given size
  
  Args:
      target : Target relative to the bounds from 0 (min) to 1 (max)
          towards which the contrast is reduced
class_docstr_tok: ["Reduces","the","contrast","of","the","input","using","a","perturbation","of","the","given","size","Args",":","target",":","Target","relative","to","the","bounds","from","0","(","min",")","to","1","(","max",")","towards","which","the","contrast","is","reduced"]
code: def __init__(self, *, target: float = 0.5):
      self.target = target
  
file_path: foolbox/foolbox/attacks/contrast.py
imports: from typing import Union, Any
  import eagerpy
  from ..devutils import flatten
  from ..devutils import atleast_kd
  from ..criteria import Criterion
  from ..distances import l2
  from ..models import Model
  from .base import FixedEpsilonAttack
  from .base import T
  from .base import raise_if_kwargs
  from .base import verify_input_bounds
label_desc: Use image node_id 1 to create a new L2ContrastReductionAttack object from inherited base classes: FixedEpsilonAttack with example: obj = L2ContrastReductionAttack()