class_docstr: Class implementation of backdoor-based RED poisoning attack on DGM.
  
  | Paper link: https://arxiv.org/abs/2108.01644
docstr: Initialize a backdoor Trail poisoning attack.
  
  :param gan: the GAN to be poisoned
code: def __init__(self, gan: TensorFlowV2GAN) -> None:
      """
      Initialize a backdoor Trail poisoning attack.
  
      :param gan: the GAN to be poisoned
      """
  
      super().__init__(generator=gan.generator)
      self._gan = gan
  
file_path: adversarial-robustness-toolbox/art/attacks/poisoning/backdoor_attack_dgm/backdoor_attack_dgm_trail.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  from typing import TYPE_CHECKING
  import numpy
  from art.estimators.gan.tensorflow import TensorFlowV2GAN
  from art.attacks.attack import PoisoningAttackGenerator
label_desc: Use image node_id 1 to create a new BackdoorAttackDGMTrailTensorFlowV2 object from inherited base classes: PoisoningAttackGenerator with example: obj = BackdoorAttackDGMTrailTensorFlowV2(gan)