class_docstr: Wrapper around a `generator` and a `critic` to create a GAN.
class_docstr_tok: ["Wrapper","around","a","`","generator","`","and","a","`","critic","`","to","create","a","GAN","."]
code: def forward(self, *args):
      return (
          self.generator(*args) if self.gen_mode else self.critic(*args)
      )
  
imports: from __future__ import annotations
  from ..basics import *
  from .all import *
label_desc: Use image node_id 2 for calling the GANModule obj's underlying member method code with example usage: obj.forward() and returns: unknown